Jelajahi Sumber

code cosmetics

tod31 4 tahun lalu
induk
melakukan
37607f72b2
1 mengubah file dengan 10 tambahan dan 2 penghapusan
  1. 10 2
      client/components/sidebar/sidebarCustomFields.js

+ 10 - 2
client/components/sidebar/sidebarCustomFields.js

@@ -16,7 +16,15 @@ BlazeComponent.extendComponent({
 }).register('customFieldsSidebar');
 
 const CreateCustomFieldPopup = BlazeComponent.extendComponent({
-  _types: ['text', 'number', 'date', 'dropdown', 'currency', 'checkbox', 'stringtemplate'],
+  _types: [
+    'text',
+    'number',
+    'date',
+    'dropdown',
+    'currency',
+    'checkbox',
+    'stringtemplate',
+  ],
 
   _currencyList: [
     {
@@ -81,7 +89,7 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({
     this.stringtemplateFormat = new ReactiveVar(
       this.data().settings && this.data().settings.stringtemplateFormat
         ? this.data().settings.stringtemplateFormat
-        : "",
+        : '',
     );
   },