Adapted home button in browser to take you to websites/apps list, depending on the resource being viewed.
This commit is contained in:
parent
198d6fba07
commit
d6c734cbc4
@ -1261,7 +1261,12 @@ class WebBrowser extends LitElement {
|
||||
}
|
||||
|
||||
goBackToList() {
|
||||
window.location = '../index.html';
|
||||
if (this.service == "APP") {
|
||||
window.location = '../../q-app/index.html';
|
||||
}
|
||||
else { // Default to websites list
|
||||
window.location = '../index.html';
|
||||
}
|
||||
}
|
||||
|
||||
follow() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user