feat: Add "Pin selected notes" button to editor title bar (#760)

This commit is contained in:
Aman Harwara
2021-12-06 14:47:35 +05:30
committed by GitHub
parent 82ee0974c1
commit 31c48af01c
8 changed files with 90 additions and 11 deletions

View File

@@ -81,6 +81,7 @@ import { PurchaseFlowDirective } from './purchaseFlow';
import { QuickSettingsMenuDirective } from './components/QuickSettingsMenu/QuickSettingsMenu';
import { ComponentViewDirective } from '@/components/ComponentView';
import { TagsListDirective } from '@/components/TagsList';
import { PinNoteButtonDirective } from '@/components/PinNoteButton';
function reloadHiddenFirefoxTab(): boolean {
/**
@@ -184,7 +185,8 @@ const startApplication: StartApplication = async function startApplication(
.directive('noteTagsContainer', NoteTagsContainerDirective)
.directive('tags', TagsListDirective)
.directive('preferences', PreferencesDirective)
.directive('purchaseFlow', PurchaseFlowDirective);
.directive('purchaseFlow', PurchaseFlowDirective)
.directive('pinNoteButton', PinNoteButtonDirective);
// Filters
angular.module('app').filter('trusted', ['$sce', trusted]);