chore: fix tag rename [skip e2e]

This commit is contained in:
Aman Harwara
2023-10-31 01:00:36 +05:30
parent ce908c8ec4
commit 83fa6adbeb

View File

@@ -609,7 +609,9 @@ export class NavigationController
public setEditingTag(editingTag: SNTag | SmartView | undefined) {
runInAction(() => {
this.editing_ = editingTag
void this.setSelectedTag(editingTag, this.selectedLocation || 'all')
if (this.selected !== editingTag) {
void this.setSelectedTag(editingTag, this.selectedLocation || 'all')
}
})
}