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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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

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(
`Component '${this.$route.name}' loaded. Keys: ${this.keys}`
)
if (!this.keys.includes(this.$route.name)) {
this.keys.push(this.$route.name)
this.$forceUpdate() this.$forceUpdate()
}
} catch (error) { } catch (error) {
console.error('Error loading dynamic content:', error) console.error('Error loading dynamic content:', error)
} finally { } finally {

View file

@ -207,7 +207,6 @@ video {
} }
.q-card { .q-card {
border-radius: 10px;
code { code {
overflow-wrap: break-word; overflow-wrap: break-word;
} }