1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-15 07:14:42 +02:00

fix: cli import (#4224)

* fix: allow import of assets

* fix: allow deletion of read only assets
This commit is contained in:
Jonathan Jogenfors
2023-09-26 01:04:30 +02:00
committed by GitHub
parent 54bea23485
commit 9676412875
2 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,7 @@
{/if}
{#if isOwner}
{#if !asset.isReadOnly && !asset.isExternal}
{#if !asset.isReadOnly || !asset.isExternal}
<CircleIconButton isOpacity={true} logo={DeleteOutline} on:click={() => dispatch('delete')} title="Delete" />
{/if}
<div use:clickOutside on:outclick={() => (isShowAssetOptions = false)}>