Skip to content
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

Merged
merged 2 commits into from
Aug 18, 2022
Merged

Conversation

Raj6939
Copy link
Collaborator

@Raj6939 Raj6939 commented Aug 18, 2022

  • HfButtons component is used in all components.

</button>
</button> -->
<hf-buttons
name="Add"
Copy link
Collaborator

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"
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why captilise?

@@ -91,21 +103,25 @@
<td v-if="isAdmin(row.email)">
<button
Copy link
Collaborator

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?

>Switch
</button> -->
<hf-buttons
name="SWITCH"
Copy link
Collaborator

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 ?

Copy link
Collaborator

@Vishwas1 Vishwas1 left a 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?

@Vishwas1 Vishwas1 merged commit 243a81c into develop Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discrepancy in button; Implement fyreButton component
2 participants