-
Notifications
You must be signed in to change notification settings - Fork 2
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
HfButtons component is used in all other components #1572
Conversation
</button> | ||
</button> --> | ||
<hf-buttons | ||
name="Add" |
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.
Why only "Add" ? what about "Update" case?
This condition
{{ eventActionList.includes(selected) ? "Update" : "Add" }}
<button @click="handleEventActionAdd()" class="btn button-theme slight-left-margin-5" :style="buttonThemeCss" type="button"> {{eventActionList.includes(selected) ? "Cancel" : "Add"}}</button> | ||
<!-- <button @click="handleEventActionAdd()" class="btn button-theme slight-left-margin-5" :style="buttonThemeCss" type="button"> {{eventActionList.includes(selected) ? "Cancel" : "Add"}}</button> --> | ||
<hf-buttons | ||
name="Add" |
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.
Why only Add case, what happened to Cancel?
class="btn btn-success btn-sm" | ||
> | ||
Active | ||
ACTIVE |
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.
Why captilise?
src/views/admin/TeamMate.vue
Outdated
@@ -91,21 +103,25 @@ | |||
<td v-if="isAdmin(row.email)"> | |||
<button |
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.
Why this button is not hf-button?
src/views/admin/TeamMate.vue
Outdated
>Switch | ||
</button> --> | ||
<hf-buttons | ||
name="SWITCH" |
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.
Why have you captiilize the button name ?
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.
Please fix these changes?
…nt and remove teammate button
HfButtons
component is used in all components.