feat: add delete tag button and refactor NoteTag to separate component

This commit is contained in:
Antonella Sgarlatta
2021-06-01 20:55:54 -03:00
parent a071d4c9d0
commit 684a3fb0bf
6 changed files with 154 additions and 63 deletions

View File

@@ -64,7 +64,7 @@ import { MultipleSelectedNotesDirective } from './components/MultipleSelectedNot
import { NotesContextMenuDirective } from './components/NotesContextMenu';
import { NotesOptionsPanelDirective } from './components/NotesOptionsPanel';
import { IconDirective } from './components/Icon';
import { NoteTagsDirective } from './components/NoteTags';
import { NoteTagsContainerDirective } from './components/NoteTagsContainer';
function reloadHiddenFirefoxTab(): boolean {
/**
@@ -159,7 +159,7 @@ const startApplication: StartApplication = async function startApplication(
.directive('notesContextMenu', NotesContextMenuDirective)
.directive('notesOptionsPanel', NotesOptionsPanelDirective)
.directive('icon', IconDirective)
.directive('noteTags', NoteTagsDirective);
.directive('noteTagsContainer', NoteTagsContainerDirective);
// Filters
angular.module('app').filter('trusted', ['$sce', trusted]);