« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/news-entry.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/news-entry.js')
-rw-r--r--src/data/things/news-entry.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/data/things/news-entry.js b/src/data/things/news-entry.js
index e5467a46..54362d06 100644
--- a/src/data/things/news-entry.js
+++ b/src/data/things/news-entry.js
@@ -1,6 +1,6 @@
 export const NEWS_DATA_FILE = 'news.yaml';
 
-import {input} from '#composite';
+import {V} from '#composite';
 import {sortChronologically} from '#sort';
 import Thing from '#thing';
 import {parseDate} from '#yaml';
@@ -25,11 +25,7 @@ export class NewsEntry extends Thing {
 
     // Expose only
 
-    isNewsEntry: [
-      exposeConstant({
-        value: input.value(true),
-      }),
-    ],
+    isNewsEntry: exposeConstant(V(true)),
 
     contentShort: {
       flags: {expose: true},