Skip to content

Commit

Permalink
Prevent selecting tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Oct 7, 2022
1 parent 87d4805 commit e1bc82b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,10 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
/** Add a photo to selection list */
selectPhoto(photo: IPhoto, val?: boolean, noUpdate?: boolean) {
if (photo.flag & this.c.FLAG_PLACEHOLDER || photo.flag & this.c.FLAG_IS_FOLDER) {
if (photo.flag & this.c.FLAG_PLACEHOLDER ||
photo.flag & this.c.FLAG_IS_FOLDER ||
photo.flag & this.c.FLAG_IS_TAG
) {
return; // ignore placeholders
}
Expand Down

0 comments on commit e1bc82b

Please sign in to comment.