mirror of
https://github.com/unraid/api.git
synced 2026-01-03 06:59:50 -06:00
refactor: launchpad copy conditionals
This commit is contained in:
@@ -6,7 +6,7 @@ import '~/assets/main.css';
|
||||
|
||||
const { expireTime, pluginInstalled, registered, state, stateData } = storeToRefs(useServerStore());
|
||||
|
||||
const showConnectCopy = computed(() => (pluginInstalled.value && !registered.value));
|
||||
const showConnectCopy = computed(() => (pluginInstalled.value && !registered.value && !stateData.value?.error));
|
||||
|
||||
const heading = computed(() => {
|
||||
if (showConnectCopy.value) return 'Thank you for installing Connect!';
|
||||
|
||||
Reference in New Issue
Block a user