mirror of
https://github.com/unraid/api.git
synced 2026-02-06 07:58:54 -06:00
refactor: improved callbackfeedback and modal usage
This commit is contained in:
@@ -3,7 +3,6 @@ import { storeToRefs } from 'pinia';
|
||||
import { ArrowRightOnRectangleIcon, ArrowTopRightOnSquareIcon, BarsArrowDownIcon, CogIcon, InformationCircleIcon, UserIcon } from '@heroicons/vue/24/solid';
|
||||
|
||||
import { ACCOUNT, CONNECT_DASHBOARD, PLUGIN_SETTINGS } from '~/helpers/urls';
|
||||
import { useDropdownStore } from '~/store/dropdown';
|
||||
import { usePromoStore } from '~/store/promo';
|
||||
import { useServerStore } from '~/store/server';
|
||||
import type { UserProfileLink } from '~/types/userProfile';
|
||||
@@ -12,7 +11,6 @@ import type { ServerStateDataAction } from '~/types/server';
|
||||
const myServersEnv = ref<string>('Staging');
|
||||
const devEnv = ref<string>('development');
|
||||
|
||||
const dropdownStore = useDropdownStore();
|
||||
const promoStore = usePromoStore();
|
||||
const { keyActions, pluginInstalled, registered, stateData } = storeToRefs(useServerStore());
|
||||
|
||||
@@ -59,7 +57,6 @@ const links = computed(():UserProfileLink[] => {
|
||||
{
|
||||
click: () => {
|
||||
promoStore.promoShow();
|
||||
dropdownStore.dropdownHide();
|
||||
},
|
||||
icon: InformationCircleIcon,
|
||||
text: 'Enhance your Unraid experience with Connect',
|
||||
|
||||
Reference in New Issue
Block a user