1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-02 05:44:37 +02:00

feat(web): add types to dispatcher (#5700)

* feat: add types to dispatcher

* fix: create album name

* pr feedback

* pr feedback

* pr feedback

* fix: api key name

* remove newSharedAlbum

* pr feedback

* fix: api key creation

* on:close

* fix: owner

* fix: onclose

* remove unused code

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
martin
2023-12-15 03:54:21 +01:00
committed by GitHub
parent 502495883d
commit 4c5397d7e6
41 changed files with 199 additions and 130 deletions

View File

@ -1,5 +1,4 @@
<script lang="ts">
import { page } from '$app/stores';
import { locale } from '$lib/stores/preferences.store';
import { featureFlags } from '$lib/stores/server-config.store';
import { getAssetFilename } from '$lib/utils/asset-utils';
@ -53,7 +52,7 @@
}
}
$: isOwner = $page?.data?.user?.id === asset.ownerId;
$: isOwner = $user.id === asset.ownerId;
$: {
// Get latest description from server