Adapted home button in browser to take you to websites/apps list, depending on the resource being viewed.

This commit is contained in:
CalDescent 2023-03-03 13:25:31 +00:00
parent 198d6fba07
commit d6c734cbc4

View File

@ -1261,7 +1261,12 @@ class WebBrowser extends LitElement {
} }
goBackToList() { 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() { follow() {