Convert #61 check to function

This commit is contained in:
Marquis Kurt 2019-05-24 17:51:41 -04:00
parent 0775cedbad
commit b8765bd109
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}