Fixes switching back to wallet (#2937)

* tals fix

* switched border back

* make

* bundle
This commit is contained in:
Arc
2025-02-07 18:13:17 +00:00
committed by GitHub
parent 503a599341
commit 9d2e52f694
5 changed files with 11 additions and 22 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-3
View File
@@ -532,9 +532,6 @@ video {
word-break: break-word; word-break: break-word;
} }
.q-card {
border-radius: 10px;
}
.q-card code { .q-card code {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
+9 -16
View File
@@ -63,15 +63,14 @@ const DynamicComponent = {
} }
//housecleaning, remove old component //housecleaning, remove old component
//const previousRouteName = const previousRouteName =
// this.$router.currentRoute.value.meta.previousRouteName this.$router.currentRoute.value.meta.previousRouteName
//if ( if (
// previousRouteName && previousRouteName &&
// window.app._context.components[previousRouteName] window.app._context.components[previousRouteName]
//) { ) {
// delete window.app._context.components[previousRouteName] delete window.app._context.components[previousRouteName]
//} }
//load component logic //load component logic
const logicKey = `${this.$route.name}PageLogic` const logicKey = `${this.$route.name}PageLogic`
const componentLogic = window[logicKey] const componentLogic = window[logicKey]
@@ -94,13 +93,7 @@ const DynamicComponent = {
template: html // Use the fetched HTML as the template template: html // Use the fetched HTML as the template
}) })
delete window[logicKey] //dont need this anymore delete window[logicKey] //dont need this anymore
console.log( this.$forceUpdate()
`Component '${this.$route.name}' loaded. Keys: ${this.keys}`
)
if (!this.keys.includes(this.$route.name)) {
this.keys.push(this.$route.name)
this.$forceUpdate()
}
} catch (error) { } catch (error) {
console.error('Error loading dynamic content:', error) console.error('Error loading dynamic content:', error)
} finally { } finally {
-1
View File
@@ -207,7 +207,6 @@ video {
} }
.q-card { .q-card {
border-radius: 10px;
code { code {
overflow-wrap: break-word; overflow-wrap: break-word;
} }