1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00

Merge pull request #1615 from ckaczor/issue-1554-2

Issue #1554 - Make search options not static/global
This commit is contained in:
Eugene 2019-10-13 20:20:38 -07:00 committed by GitHub
commit 4a9f4bced5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,10 @@ import { Frontend, SearchOptions } from '../frontends/frontend'
styles: [require('./searchPanel.component.scss')],
})
export class SearchPanelComponent {
static globalOptions: SearchOptions = {}
@Input() query: string
@Input() frontend: Frontend
notFound = false
options: SearchOptions = SearchPanelComponent.globalOptions
options: SearchOptions = {}
@Output() close = new EventEmitter()