mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: allow editing all images (#23144)
* fix: allow editing local asset * chore: remove isOwner check
This commit is contained in:
parent
efac8c6667
commit
65cac118ca
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class ViewerBottomBar extends ConsumerWidget {
|
|||
final actions = <Widget>[
|
||||
const ShareActionButton(source: ActionSource.viewer),
|
||||
if (asset.isLocalOnly) const UploadActionButton(source: ActionSource.viewer),
|
||||
if (asset.type == AssetType.image && isOwner) const EditImageActionButton(),
|
||||
if (asset.type == AssetType.image) const EditImageActionButton(),
|
||||
if (isOwner) ...[
|
||||
if (asset.hasRemote && isOwner && isArchived)
|
||||
const UnArchiveActionButton(source: ActionSource.viewer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue