-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented: Add additional job actions to job config component(#364tt29) #216
Conversation
Implemented 'align-items: end' property instead of 'margin: unset'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSS comments
src/components/JobConfiguration.vue
Outdated
row-gap: var(--spacer-sm); | ||
margin-top: var(--spacer-sm); | ||
} | ||
.more-actions > ion-item { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't specify ion item, it should just be all items in more-actions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the requested change.
src/components/JobConfiguration.vue
Outdated
@@ -127,6 +155,9 @@ export default defineComponent({ | |||
props: ["title", "status", "type"], | |||
computed: { | |||
...mapGetters({ | |||
getEnumDescription: 'job/getEnumDescription', | |||
getEnumName: 'job/getEnumName', | |||
getPinnedJobs: 'user/getPinnedJobs', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getPinnedJobs: 'user/getPinnedJobs', | |
pinnedJobs: 'user/getPinnedJobs', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated variable name.
src/components/JobConfiguration.vue
Outdated
<ion-item @click="updatePinnedJobs(currentJob?.systemJobEnumId)" button> | ||
<ion-icon slot="start" :icon="pinOutline" /> | ||
{{ $t("Pin job") }} | ||
<ion-checkbox slot="end" :checked="getPinnedJobs ? getPinnedJobs.includes(currentJob.systemJobEnumId) : false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ion-checkbox slot="end" :checked="getPinnedJobs ? getPinnedJobs.includes(currentJob.systemJobEnumId) : false" /> | |
<ion-checkbox slot="end" :checked="getPinnedJobs && getPinnedJobs.includes(currentJob.systemJobEnumId)" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the requested change.
@disha1202 Please add the image of the work you have done in this PR. |
Added the image. |
LGTM |
1 similar comment
LGTM |
Related Issues
Closes #
Short Description and Why It's Useful
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance