diff --git a/com/static/bundled/com/components/moderation-alert-index.ts b/com/static/bundled/com/components/moderation-alert-index.ts index 1c9274dd..f2ff1806 100644 --- a/com/static/bundled/com/components/moderation-alert-index.ts +++ b/com/static/bundled/com/components/moderation-alert-index.ts @@ -10,6 +10,8 @@ const AlertState = { PUBLISHED: 2, // biome-ignore lint/style/useNamingConvention: this feels more like an enum DELETED: 3, + // biome-ignore lint/style/useNamingConvention: this feels more like an enum + DISPLAYED: 4, // When published at page generation }; exportToHtml("AlertState", AlertState); diff --git a/com/templates/com/macros.jinja b/com/templates/com/macros.jinja index f3713717..1e3fb853 100644 --- a/com/templates/com/macros.jinja +++ b/com/templates/com/macros.jinja @@ -57,8 +57,8 @@ {# the news-moderated is received when a moderation alert is deleted or moderated #} @news-moderated.window="dispatchModeration($event)" {% if alpineState %} - x-modelable="{{ alpineState }}" - x-model="state" + x-model="{{ alpineState }}" + x-modelable="state" {% endif %} >