diff --git a/assets/main.css b/assets/main.css index 82f621fe3..7ce28b150 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1,6 +1,5 @@ @tailwind base; @tailwind components; -@tailwind utilities; /* darkTheme @@ -88,4 +87,7 @@ body { 100% { transform: translateY(0); } -} \ No newline at end of file +} + +/* Ensure this is always at the bottom – @see https://tailwindcss.com/docs/content-configuration#working-with-third-party-libraries */ +@tailwind utilities; diff --git a/components/UserProfile/CallbackFeedback.vue b/components/UserProfile/CallbackFeedback.vue index 54e158881..1b99909dd 100644 --- a/components/UserProfile/CallbackFeedback.vue +++ b/components/UserProfile/CallbackFeedback.vue @@ -22,7 +22,7 @@ const installKeyStore = useInstallKeyStore(); const { updating, updateSuccess } = storeToRefs(accountStore); const { callbackLoading } = storeToRefs(callbackActionsStore); -const { keyUrl, keyType, installing, installType, success } = storeToRefs(installKeyStore); +const { keyUrl, keyType, installing, success } = storeToRefs(installKeyStore); const heading = computed(() => callbackLoading.value ? 'Performing actions' : 'Finished performing actions'); const subheading = computed(() => callbackLoading.value ? 'Please keep this window open' : ''); diff --git a/store/installKey.ts b/store/installKey.ts index ded9abf73..8d0ba26f9 100644 --- a/store/installKey.ts +++ b/store/installKey.ts @@ -15,7 +15,6 @@ export const useInstallKeyStore = defineStore('installKey', () => { // "https://keys.lime-technology.com/unraid/c9785e151ae3b0f056238e403809fd28b82eb4ad/Plus.key" const keyUrl = ref(''); const installing = ref(); - const installType = ref(''); const success = ref(); const keyType = computed((): string | undefined => { @@ -27,7 +26,6 @@ export const useInstallKeyStore = defineStore('installKey', () => { const install = async (action: CallbackAction) => { console.debug('[install]'); installing.value = true; - installType.value = action.type; keyUrl.value = action.keyUrl ?? ''; if (!keyUrl.value) return console.error('[install] no key to install'); @@ -61,7 +59,6 @@ export const useInstallKeyStore = defineStore('installKey', () => { // State keyUrl, installing, - installType, success, // getters keyType, diff --git a/tailwind.config.ts b/tailwind.config.ts index 491ac10ab..a1dad5ee2 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -2,6 +2,17 @@ import type { Config } from 'tailwindcss' import defaultTheme from 'tailwindcss/defaultTheme' export default >{ + safelist: [ + 'DropdownWrapper_blip', + 'BrandLoading_1', + 'BrandLoading_2', + 'BrandLoading_3', + 'BrandLoading_4', + 'BrandLoading_6', + 'BrandLoading_7', + 'BrandLoading_8', + 'BrandLoading_9', + ], theme: { extend: { colors: {