Fix: Tooltip fix (#4535)

This commit is contained in:
Mike
2025-04-22 15:17:23 +02:00
committed by GitHub
parent b30d8bf171
commit 4bbc2e68c6
2 changed files with 20 additions and 14 deletions
@@ -22,20 +22,22 @@
<SettingsWorkspacesBillingUsage :slug="slug" />
</section>
<section class="flex flex-col gap-y-4 md:gap-y-6">
<SettingsSectionHeader title="Upgrade your plan" subheading />
<PricingTable
:slug="slug"
:workspace-id="workspace?.id"
:role="workspace?.role as WorkspaceRoles"
:currency="workspace?.subscription?.currency"
/>
</section>
<ClientOnly>
<section class="flex flex-col gap-y-4 md:gap-y-6">
<SettingsSectionHeader title="Upgrade your plan" subheading />
<PricingTable
:slug="slug"
:workspace-id="workspace?.id"
:role="workspace?.role as WorkspaceRoles"
:currency="workspace?.subscription?.currency"
/>
</section>
<section class="flex flex-col gap-y-4 md:gap-y-6">
<SettingsSectionHeader title="Add-ons" subheading />
<SettingsWorkspacesBillingAddOns :slug="slug" :workspace-id="workspace?.id" />
</section>
<section class="flex flex-col gap-y-4 md:gap-y-6">
<SettingsSectionHeader title="Add-ons" subheading />
<SettingsWorkspacesBillingAddOns :slug="slug" :workspace-id="workspace?.id" />
</section>
</ClientOnly>
</div>
</div>
</template>
@@ -9,7 +9,11 @@
<slot name="subtitle" />
</div>
<div class="flex items-center gap-x-2">
<div v-if="button" :key="buttonId" v-tippy="button.disabledMessage">
<div
v-if="button"
:key="`${buttonId}-${button.disabled}`"
v-tippy="button.disabledMessage"
>
<FormButton
v-bind="button.props || {}"
:disabled="button.props?.disabled || button.disabled"