ali преди 2 години
родител
ревизия
3d8fc5f43e
променени са 1 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 8 8
      src/components/Widgets/ContentCategory/ContentCategoryShow/ContentCategoryShow.vue

+ 8 - 8
src/components/Widgets/ContentCategory/ContentCategoryShow/ContentCategoryShow.vue

@@ -20,14 +20,14 @@
       </div>
     </div>
     <q-banner class="ContentCategoryShow-banner">
-      محصولات
+      محتواهای
       {{ contentCategory.title }}
     </q-banner>
     <entity-index v-if="mounted && contentCategory.id"
                   ref="entityIndex"
-                  v-model:value="productInputs"
+                  v-model:value="contentInputs"
                   class="product-index"
-                  :api="productApi"
+                  :api="contentApi"
                   :table="table"
                   :table-keys="tableKeys"
                   :table-grid-size="true"
@@ -36,18 +36,18 @@
                   :show-expand-button="false"
                   :show-reload-button="false">
       <template #entity-index-table-item-cell="{inputData}">
-        <product-item :product="getProduct(inputData.props.row)" />
+        <content-item :content="getContent(inputData.props.row)" />
       </template>
     </entity-index>
     <q-banner class="ContentCategoryShow-banner">
-      محتواهای
+      محصولات
       {{ contentCategory.title }}
     </q-banner>
     <entity-index v-if="mounted && contentCategory.id"
                   ref="entityIndex"
-                  v-model:value="contentInputs"
+                  v-model:value="productInputs"
                   class="product-index"
-                  :api="contentApi"
+                  :api="productApi"
                   :table="table"
                   :table-keys="tableKeys"
                   :table-grid-size="true"
@@ -56,7 +56,7 @@
                   :show-expand-button="false"
                   :show-reload-button="false">
       <template #entity-index-table-item-cell="{inputData}">
-        <content-item :content="getContent(inputData.props.row)" />
+        <product-item :product="getProduct(inputData.props.row)" />
       </template>
     </entity-index>
   </div>