From 5118d261abe3bf223097ad7021184c8c08e89df3 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 17 Nov 2023 22:13:23 -0600 Subject: [PATCH] chore(web): remove deprecation message (#5115) * chore(web): remove deprecation message * keep the slot --- .../side-bar/side-bar.svelte | 12 ----- web/src/routes/+layout.svelte | 52 +------------------ 2 files changed, 1 insertion(+), 63 deletions(-) diff --git a/web/src/lib/components/shared-components/side-bar/side-bar.svelte b/web/src/lib/components/shared-components/side-bar/side-bar.svelte index 5538333a72..9f5103a76f 100644 --- a/web/src/lib/components/shared-components/side-bar/side-bar.svelte +++ b/web/src/lib/components/shared-components/side-bar/side-bar.svelte @@ -173,16 +173,4 @@
- - {#if $page.data.user.isAdmin} - -
-

- The upcoming release v1.88.0 will include breaking change in the way Immich - deploy its application. Please read the following - annoucement to make sure you - are ready for the update. -

-
- {/if} diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index eaafca5fbb..3c43b98ee6 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -19,26 +19,6 @@ import { dragAndDropFilesStore } from '$lib/stores/drag-and-drop-files.store'; import { api } from '@api'; import { closeWebsocketConnection, openWebsocketConnection } from '$lib/stores/websocket'; - import Icon from '$lib/components/elements/icon.svelte'; - import { mdiOpenInNew } from '@mdi/js'; - import Button from '$lib/components/elements/buttons/button.svelte'; - - // remove after v1.87 is released - let isOutdated = false; - const handleCheckOutdated = async () => { - try { - let response = await api.serverInfoApi.getServerVersion(); - if (!response.headers['content-type'].startsWith('application/json')) { - api.setBaseUrl('/api/api'); - response = await api.serverInfoApi.getServerVersion(); - } - if (response.data.major === 1 && response.data.minor >= 88) { - isOutdated = true; - } - } catch { - // noop - } - }; let showNavigationLoadingBar = false; export let data: LayoutData; @@ -68,8 +48,6 @@ }); onMount(async () => { - handleCheckOutdated(); - if ($page.route.id?.startsWith('/auth') === false) { openWebsocketConnection(); } @@ -132,35 +110,7 @@ -{#if isOutdated} - -
-

- This container (immich-web) is no longer in use. -

-

- Please read the announcement about the breaking changes released in v1.88.0 and update your configuration - accordingly. -

- - - - -
-
-{:else} - -{/if} + {#if showNavigationLoadingBar}