From 621a6d8127d36b300487a7199c196023643f6c6e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 5 Oct 2018 10:10:02 +0100 Subject: [PATCH] cleanup --- .../src/components/pluginsSettingsTab.component.pug | 2 +- .../src/components/settingsTab.component.pug | 4 ++-- .../src/components/colorPicker.component.pug | 2 +- .../src/components/terminalSettingsTab.component.pug | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug index 12ec2aae..df7a4b0c 100644 --- a/terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug +++ b/terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug @@ -66,7 +66,7 @@ div(*ngIf='npmInstalled') i.fa.fa-fw.fa-search(*ngIf='availablePluginsReady') input.form-control( type='text', - '[(ngModel)]'='_1', + [(ngModel)]='_1', (ngModelChange)='searchAvailable(_1)', placeholder='Search plugins' ) diff --git a/terminus-settings/src/components/settingsTab.component.pug b/terminus-settings/src/components/settingsTab.component.pug index dd53ab30..ca217fb8 100644 --- a/terminus-settings/src/components/settingsTab.component.pug +++ b/terminus-settings/src/components/settingsTab.component.pug @@ -259,8 +259,8 @@ ngb-tabset.vertical(type='pills', [activeId]='activeTab') td {{hotkey.id}} td multi-hotkey-input( - '[(model)]'='config.store.hotkeys[hotkey.id]' - '(modelChange)'='config.save(); docking.dock()' + [(model)]='config.store.hotkeys[hotkey.id]', + (modelChange)='config.save(); docking.dock()' ) ngb-tab(*ngFor='let provider of settingsProviders', [id]='provider.id') diff --git a/terminus-terminal/src/components/colorPicker.component.pug b/terminus-terminal/src/components/colorPicker.component.pug index db063f7e..60ec1407 100644 --- a/terminus-terminal/src/components/colorPicker.component.pug +++ b/terminus-terminal/src/components/colorPicker.component.pug @@ -3,7 +3,7 @@ ng-template(#content) [style.width]='"100%"', [style.background]='model', ) - input.form-control(type='text', '[(ngModel)]'='model', (ngModelChange)='onChange()', #input) + input.form-control(type='text', [(ngModel)]='model', (ngModelChange)='onChange()', #input) div( [ngbPopover]='content', diff --git a/terminus-terminal/src/components/terminalSettingsTab.component.pug b/terminus-terminal/src/components/terminalSettingsTab.component.pug index 114293c4..f116063e 100644 --- a/terminus-terminal/src/components/terminalSettingsTab.component.pug +++ b/terminus-terminal/src/components/terminalSettingsTab.component.pug @@ -70,23 +70,23 @@ h3.mb-3 Appearance .form-group(*ngIf='editingColorScheme') color-picker( - '[(model)]'='editingColorScheme.foreground', + [(model)]='editingColorScheme.foreground', (modelChange)='config.save(); schemeChanged = true', title='FG', ) color-picker( - '[(model)]'='editingColorScheme.background', + [(model)]='editingColorScheme.background', (modelChange)='config.save(); schemeChanged = true', title='BG', ) color-picker( - '[(model)]'='editingColorScheme.cursor', + [(model)]='editingColorScheme.cursor', (modelChange)='config.save(); schemeChanged = true', title='CU', ) color-picker( *ngFor='let _ of editingColorScheme.colors; let idx = index; trackBy: colorsTrackBy', - '[(model)]'='editingColorScheme.colors[idx]', + [(model)]='editingColorScheme.colors[idx]', (modelChange)='config.save(); schemeChanged = true', [title]='idx', )