Merge pull request #2836 from omnivore-app/fix/extension-label-removal

Sync label removal changes
This commit is contained in:
Jackson Harper
2023-10-03 13:15:10 +08:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "process.env.EXTENSION_NAME",
"short_name": "process.env.EXTENSION_NAME",
"version": "2.6.1",
"version": "2.6.2",
"description": "Save PDFs and Articles to your Omnivore library",
"author": "Omnivore Media, Inc",
"default_locale": "en",

View File

@ -797,6 +797,11 @@
rowElement.setAttribute('data-label-selected', 'off')
}
const label = labels.find((l) => l.id === labelID)
if (label) {
label.selected = false
}
syncLabelChanges()
}