From b39543d744986e9e5be8f04f3e9490f06a9bfc0d Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 6 Sep 2023 10:08:49 -0700 Subject: [PATCH] refactor(upc): sign in/out api running copy --- web/locales/en_US.json | 4 +++- web/store/server.ts | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/locales/en_US.json b/web/locales/en_US.json index 576c22711..c0e0f0d03 100644 --- a/web/locales/en_US.json +++ b/web/locales/en_US.json @@ -200,5 +200,7 @@ "Your free Trial key provides all the functionality of a Pro Registration key": "Your free Trial key provides all the functionality of a Pro Registration key", "Calculating trial expiration…": "Calculating trial expiration…", "Signing In": "Signing In", - "Signing Out": "Signing Out" + "Signing Out": "Signing Out", + "Sign In requires the local unraid-api to be running": "Sign In requires the local unraid-api to be running", + "Sign Out requires the local unraid-api to be running": "Sign Out requires the local unraid-api to be running" } diff --git a/web/store/server.ts b/web/store/server.ts index 805baab05..c4fecf929 100644 --- a/web/store/server.ts +++ b/web/store/server.ts @@ -266,7 +266,7 @@ export const useServerStore = defineStore('server', () => { */ const signInAction = computed((): ServerStateDataAction => { const disabled = unraidApiStore.unraidApiStatus !== 'online'; - const title = disabled ? 'Sign In requires a connection to unraid-api' : ''; + const title = disabled ? 'Sign In requires the local unraid-api to be running' : ''; return { click: () => { accountStore.signIn(); }, disabled, @@ -287,7 +287,7 @@ export const useServerStore = defineStore('server', () => { title = 'Sign Out requires a keyfile'; } if (unraidApiStore.unraidApiStatus !== 'online') { - title = 'Sign Out requires a connection to unraid-api'; + title = 'Sign Out requires the local unraid-api to be running'; } return { click: () => { accountStore.signOut(); },