mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 17:16:03 +00:00
Change search options to not be static/global
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user