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