Skip to content

Commit

Permalink
fix icons alignment in billing upgrade buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatcer committed Dec 17, 2024
1 parent 33818f1 commit 19ed966
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/js/Components/Common/UpgradeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ const show = defineModel('show', { default: false });
<PrimaryButton
type="button"
class="mt-6"
:icon="CreditCardIcon"
v-if="
isBillingActivated() && canUpdateOrganization()
">
<CreditCardIcon class="w-5 h-5 me-2" />
Go to Billing
</PrimaryButton>
</Link>
Expand Down
6 changes: 4 additions & 2 deletions resources/js/Components/NotificationContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@
<Link
v-if="isBillingActivated() && canManageBilling()"
href="/billing">
<PrimaryButton type="button" class="mt-6">
<CreditCardIcon class="w-5 h-5 me-2" />
<PrimaryButton
:icon="CreditCardIcon"
type="button"
class="mt-6">
Go to Billing
</PrimaryButton>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/ReportingShared.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ watch(currentPage, () => {
<PrimaryButton
type="button"
class="mt-6"
:icon="CreditCardIcon"
v-if="
isBillingActivated() && canUpdateOrganization()
">
<CreditCardIcon class="w-5 h-5 me-2" />
Go to Billing
</PrimaryButton>
</Link>
Expand Down
3 changes: 1 addition & 2 deletions resources/js/Pages/Teams/Partials/UpdateTeamNameForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ const updateTeamName = () => {
<Link
v-if="isBillingActivated() && canManageBilling()"
href="/billing">
<PrimaryButton type="button">
<CreditCardIcon class="w-5 h-5 me-2" />
<PrimaryButton :icon="CreditCardIcon" type="button">
Go to Billing
</PrimaryButton>
</Link>
Expand Down

0 comments on commit 19ed966

Please sign in to comment.