mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-16 17:40:00 +00:00
Merge pull request #1615 from ckaczor/issue-1554-2
Issue #1554 - Make search options not static/global
This commit is contained in:
commit
4a9f4bced5
@ -8,11 +8,10 @@ import { Frontend, SearchOptions } from '../frontends/frontend'
|
|||||||
styles: [require('./searchPanel.component.scss')],
|
styles: [require('./searchPanel.component.scss')],
|
||||||
})
|
})
|
||||||
export class SearchPanelComponent {
|
export class SearchPanelComponent {
|
||||||
static globalOptions: SearchOptions = {}
|
|
||||||
@Input() query: string
|
@Input() query: string
|
||||||
@Input() frontend: Frontend
|
@Input() frontend: Frontend
|
||||||
notFound = false
|
notFound = false
|
||||||
options: SearchOptions = SearchPanelComponent.globalOptions
|
options: SearchOptions = {}
|
||||||
|
|
||||||
@Output() close = new EventEmitter()
|
@Output() close = new EventEmitter()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user