From 32cba5f8fe6665bff39e988ba69c3f9c5e1ca5f7 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Sat, 3 Oct 2026 05:25:36 +0000 Subject: [PATCH] Posterverse: on a page it owns, the address's tab beats a baked config tab When the shell owns the address, a reload or a shared ?tab= now wins over a profile-config tab, so the first-paint replace can never overwrite a sent link with the default. Elsewhere the order is unchanged (attribute, config, URL). --- plugin-designs/posterverse/posterverse.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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())