fix(editor): Fix typo in SSO upgrade link (#6031)

* fix(editor): Fix typo in SSO upgrade link

* fix(editor): remove unused import
This commit is contained in:
Csaba Tuncsik 2023-04-20 13:25:57 +02:00 committed by GitHub
parent 6d64e3d40e
commit 9b59f1df9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,11 @@
import { computed, ref, onBeforeMount } from 'vue'; import { computed, ref, onBeforeMount } from 'vue';
import { Notification } from 'element-ui'; import { Notification } from 'element-ui';
import { useSSOStore } from '@/stores/sso'; import { useSSOStore } from '@/stores/sso';
import { useUsageStore } from '@/stores/usage';
import { useUIStore } from '@/stores/ui'; import { useUIStore } from '@/stores/ui';
import { i18n as locale } from '@/plugins/i18n'; import { i18n as locale } from '@/plugins/i18n';
import CopyInput from '@/components/CopyInput.vue'; import CopyInput from '@/components/CopyInput.vue';
const ssoStore = useSSOStore(); const ssoStore = useSSOStore();
const usageStore = useUsageStore();
const uiStore = useUIStore(); const uiStore = useUIStore();
const ssoActivatedLabel = computed(() => const ssoActivatedLabel = computed(() =>
@ -56,7 +54,7 @@ const onTest = async () => {
}; };
const goToUpgrade = () => { const goToUpgrade = () => {
uiStore.goToUpgrade('sso', 'upgrade-sso`'); uiStore.goToUpgrade('sso', 'upgrade-sso');
}; };
onBeforeMount(async () => { onBeforeMount(async () => {