mirror of
https://github.com/ente-io/ente.git
synced 2025-08-06 22:52:45 +00:00
Fix
This commit is contained in:
parent
de9cad09c4
commit
67dc1b77d4
@ -530,7 +530,10 @@ export class FileViewerPhotoSwipe {
|
||||
) => {
|
||||
const af = currentAnnotatedFile();
|
||||
const isFavorite = delegate.isFavorite(af);
|
||||
showIf(buttonElement, isFavorite === value);
|
||||
showIf(
|
||||
buttonElement,
|
||||
af.annotation.showFavorite && isFavorite === value,
|
||||
);
|
||||
buttonElement.disabled = this.pendingFavoriteUpdates.has(
|
||||
af.file.id,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user