ali %!s(int64=2) %!d(string=hai) anos
pai
achega
3d8fc5f43e

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

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