Removed !isEmbedded guard from mobile tab auto-switch watchers in ChatPage.vue. When running embedded in Archy iframe on mobile, clicking a chat bubble now correctly switches to the content panel. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 lines
650 B
JavaScript
2 lines
650 B
JavaScript
import{A as v,r as g,B as w,C as I}from"./index-BzKy-nNf.js";function k(t){const a=g(new Set),r=w(new Map);function i(e){a.value=new Set([...a.value,e])}function f(e){const n=t.id(e);return a.value.has(n)?null:t.existingUrl(e)||r.get(n)||null}function l(e){return t.fallback(e)}function d(e){i(t.id(e))}function o(e){const n=t.id(e);return!f(e)&&!a.value.has(n)}function h(e){for(const n of e){const c=t.id(n);t.existingUrl(n)||r.has(c)||a.value.has(c)||t.fetch(n).then(s=>{s?r.set(c,s):i(c)}).catch(()=>{i(c)})}}const u=t.items,m=I(u)?()=>u.value:u;return v(m,e=>h(e),{immediate:!0}),{coverSrc:f,fallbackSrc:l,onError:d,isLoading:o}}export{k as u};
|