]> git.scottworley.com Git - vopamoi/commitdiff
Revert "When creating a task while viewing a tag, the new task has that tag"
authorScott Worley <scottworley@scottworley.com>
Wed, 2 Mar 2022 23:40:07 +0000 (15:40 -0800)
committerScott Worley <scottworley@scottworley.com>
Wed, 2 Mar 2022 23:40:07 +0000 (15:40 -0800)
Revert c948f3b419535ad0774392636d2fd1166fb6e312 in spirit.

This often isn't the right thing to do.  It's especially
counter-productive in the while viewing the "Project" tag -- new
sub-tasks in projects are not themselves Projects.

vopamoi.ts

index 695ddefa7361e560f244597a76cd73cf0f08f30e..5f759d08588cfa18d24da7f07e41df026d565c1d 100644 (file)
@@ -297,9 +297,6 @@ function BrowserUI() {
         this.firstVisibleTask()?.focus();
       }
       input.value = "";
-      if (currentTagView) {
-        ui.addTag(task.getAttribute("data-created")!, currentTagView);
-      }
       if (event.getModifierState("Control")) {
         this.makeBottomPriority(task);
       }