mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-24 03:47:53 +00:00
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,8 +1261,13 @@ class WebBrowser extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBackToList() {
|
goBackToList() {
|
||||||
|
if (this.service == "APP") {
|
||||||
|
window.location = '../../q-app/index.html';
|
||||||
|
}
|
||||||
|
else { // Default to websites list
|
||||||
window.location = '../index.html';
|
window.location = '../index.html';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
follow() {
|
follow() {
|
||||||
this.followName(this.name);
|
this.followName(this.name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user