fix(web): asset disappears from album after metadata edit (#7520)

This commit is contained in:
Michel Heusschen
2024-02-29 18:44:30 +01:00
committed by GitHub
parent 100363c7be
commit 369acc7bea
9 changed files with 30 additions and 37 deletions

View File

@@ -30,7 +30,6 @@
NotificationType,
notificationController,
} from '$lib/components/shared-components/notification/notification';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
import UserAvatar from '$lib/components/shared-components/user-avatar.svelte';
import { AppRoute, dateFormats } from '$lib/constants';
import { numberOfComments, setNumberOfComments, updateNumberOfComments } from '$lib/stores/activity.store';
@@ -718,8 +717,6 @@
/>
{/if}
<UpdatePanel {assetStore} />
<style>
::placeholder {
color: rgb(60, 60, 60);

View File

@@ -16,7 +16,6 @@
import { AssetStore } from '$lib/stores/assets.store';
import type { PageData } from './$types';
import { mdiPlus, mdiDotsVertical } from '@mdi/js';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
export let data: PageData;
@@ -53,4 +52,3 @@
/>
</AssetGrid>
</UserPageLayout>
<UpdatePanel {assetStore} />

View File

@@ -18,7 +18,6 @@
import { AssetStore } from '$lib/stores/assets.store';
import type { PageData } from './$types';
import { mdiDotsVertical, mdiPlus } from '@mdi/js';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
export let data: PageData;
@@ -58,4 +57,3 @@
/>
</AssetGrid>
</UserPageLayout>
<UpdatePanel {assetStore} />

View File

@@ -13,7 +13,6 @@
import { onDestroy } from 'svelte';
import type { PageData } from './$types';
import { mdiPlus, mdiArrowLeft } from '@mdi/js';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
export let data: PageData;
@@ -46,5 +45,4 @@
</ControlAppBar>
{/if}
<AssetGrid {assetStore} {assetInteractionStore} />
<UpdatePanel {assetStore} />
</main>

View File

@@ -22,7 +22,6 @@
import { openFileUploadDialog } from '$lib/utils/file-uploader';
import { assetViewingStore } from '$lib/stores/asset-viewing.store';
import { mdiDotsVertical, mdiPlus } from '@mdi/js';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
import { user } from '$lib/stores/user.store';
let { isViewing: showAssetViewer } = assetViewingStore;
@@ -96,4 +95,3 @@
/>
</AssetGrid>
</UserPageLayout>
<UpdatePanel {assetStore} />

View File

@@ -15,7 +15,6 @@
NotificationType,
notificationController,
} from '$lib/components/shared-components/notification/notification';
import UpdatePanel from '$lib/components/shared-components/update-panel.svelte';
import { AppRoute } from '$lib/constants';
import { createAssetInteractionStore } from '$lib/stores/asset-interaction.store';
import { AssetStore } from '$lib/stores/assets.store';
@@ -115,4 +114,3 @@
</svelte:fragment>
</ConfirmDialogue>
{/if}
<UpdatePanel {assetStore} />