« get me outta code hell

data: artist: don't depend on hasCoverArt expose-only prop - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/thing.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-02 12:43:39 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-02 12:45:16 -0300
commit1ac4ee874047636ed9013350c3db2d5e49d7669a (patch)
tree231cf1a34570a6191de9493872259ebe2ecf8929 /src/data/things/thing.js
parent5981f69fac3e0d303425b8df125cd9e705c9eea8 (diff)
data: artist: don't depend on hasCoverArt expose-only prop
Diffstat (limited to 'src/data/things/thing.js')
-rw-r--r--src/data/things/thing.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js
index cefcd012..b74f45f5 100644
--- a/src/data/things/thing.js
+++ b/src/data/things/thing.js
@@ -300,9 +300,7 @@ export default class Thing extends CacheableObject {
 
     // Nice 'n simple shorthand for an exposed-only flag which is true when any
     // contributions are present in the specified property.
-    contribsPresent: (
-      contribsByRefProperty
-    ) => ({
+    contribsPresent: (contribsByRefProperty) => ({
       flags: {expose: true},
       expose: {
         dependencies: [contribsByRefProperty],