Merge branch 'hotfix/10.1.2' into develop

This commit is contained in:
Mo Bitar
2021-12-06 13:21:27 -06:00
2 changed files with 9 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ class TagsViewCtrl extends PureViewCtrl<unknown, TagState> {
registerComponentHandler() {
this.unregisterComponent =
this.application.componentManager!.registerHandler({
this.application.componentManager.registerHandler({
identifier: 'tags',
areas: [ComponentArea.TagsList],
actionHandler: (_, action, data) => {
@@ -213,7 +213,13 @@ class TagsViewCtrl extends PureViewCtrl<unknown, TagState> {
return;
}
if (item.content_type === ContentType.SmartTag) {
if (item.content_type === ContentType.Tag) {
const matchingTag = this.application.findItem(item.uuid);
if (matchingTag) {
this.selectTag(matchingTag as SNTag);
}
} else if (item.content_type === ContentType.SmartTag) {
const matchingTag = this.getState().smartTags.find(
(t) => t.uuid === item.uuid
);

View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.9.6",
"version": "3.9.7",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",