diff options
| author | Adam Soltys <[email protected]> | 2026-08-18 00:36:33 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-18 00:36:33 -0700 |
| commit | 6f9be107783a02713a508437b100e008a7e043b1 (patch) | |
| tree | 17f86332b177fc7cdad497add56702f00b9b1936 /src | |
| parent | a109c2742de15703d10aa6c30b4af7bd7ebae19b (diff) | |
| download | coinosv3-6f9be107783a02713a508437b100e008a7e043b1.tar.gz coinosv3-6f9be107783a02713a508437b100e008a7e043b1.zip | |
The crown leaves the shop floor for good — it was never merchandise
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src')
| -rw-r--r-- | src/features/hats.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/features/hats.js b/src/features/hats.js index 0bd4545..a19bf2a 100644 --- a/src/features/hats.js +++ b/src/features/hats.js @@ -312,10 +312,8 @@ export function hatsFeature(ctx) { d === null ? h('div', { style: 'text-align:center;padding:16px' }, h('span', { class: 'spinner' })) : h('div', { class: 'col', style: 'gap:2px' }, - // the crown stays off the menu — it appears only for the head - // that already wears it - ...HATS.filter((hat) => hat.id !== 'crown' || me === ADMIN_PK || (d.owned || []).includes('crown')) - .map((hat) => shopRow(hat, d, me))), + // the crown is not merchandise — it never appears in the store + ...HATS.filter((hat) => hat.id !== 'crown').map((hat) => shopRow(hat, d, me))), d && d.offline ? h('div', { class: 'small faint', style: 'text-align:center' }, t('hatShopOffline')) : null), h('button', { class: 'btn-ghost btn-block', onClick: closeShop }, t('back'))); } |
