diff --git a/plugin-designs/posterverse/posterverse.vue b/plugin-designs/posterverse/posterverse.vue index 6bf39d9d1..1a0eac95f 100644 --- a/plugin-designs/posterverse/posterverse.vue +++ b/plugin-designs/posterverse/posterverse.vue @@ -259,7 +259,10 @@ export default defineComponent({ requestedTab() { let q = '' try { q = readViewKeys(location.search).tab } catch { /* non-browser */ } - return String(this.tab || this.cfg.tab || q || '').trim() + // On a page whose address this shell owns, the URL (a reload, a shared link) beats a baked cfg.tab, or the + // first-paint replace would overwrite the link with the default. Elsewhere the host's config leads. + const order = urlOwnerOf(this.cfg) ? [this.tab, q, this.cfg.tab] : [this.tab, this.cfg.tab, q] + return String(order.find((v) => v) || '').trim() }, initialIndex() { const i = this.tabs.findIndex((t) => t.id === this.requestedTab())