Convert #61 check to function
This commit is contained in:
parent
0775cedbad
commit
b8765bd109
|
@ -84,6 +84,7 @@ export class AppLayout extends Component<any, IAppLayoutState> {
|
|||
})
|
||||
|
||||
this.streamNotifications()
|
||||
|
||||
}
|
||||
|
||||
streamNotifications() {
|
||||
|
@ -153,7 +154,7 @@ export class AppLayout extends Component<any, IAppLayoutState> {
|
|||
}
|
||||
|
||||
searchForQuery(what: string) {
|
||||
window.location.href = isDesktopApp? "hyperspace://hyperspace/app/index.html#/search?query=" + what: "/#/search?query=" + what;
|
||||
window.location.href = isDesktopApp()? "hyperspace://hyperspace/app/index.html#/search?query=" + what: "/#/search?query=" + what;
|
||||
window.location.reload;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue