Explorar o código

Merge branch 'master' of http://git.hghweb.ir/ali.s/palizvani-front-vite into production

hgh %!s(int64=2) %!d(string=hai) anos
pai
achega
5178c5cc75
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/components/Widgets/Notice/NoticeList/NoticeList.vue

+ 5 - 1
src/components/Widgets/Notice/NoticeList/NoticeList.vue

@@ -67,7 +67,7 @@
                     {{ getNoticeReceiverModel(inputData.props.row).is_seen ? 'خوانده شده': 'خوانده نشده' }}
                   </div>
                   <div class="entity-index-grid-item__header-creation-time">
-                    {{ getNoticeReceiverModel(inputData.props.row.notice).shamsiDate('creation_time').dateTime }}
+                    {{ ShamsiDate.getDateTime(inputData.props.row.notice_info.creation_time) }}
                   </div>
                 </div>
               </div>
@@ -96,6 +96,7 @@ import { mixinWidget } from 'src/mixin/Mixins.js'
 import { APIGateway } from 'src/api/APIGateway.js'
 import { FormBuilderAssist } from 'quasar-form-builder'
 import Breadcrumbs from 'src/components/Widgets/Breadcrumbs/Breadcrumbs.vue'
+import ShamsiDate from 'src/assets/ShamsiDate.js'
 
 export default {
   name: 'NoticeList',
@@ -153,6 +154,9 @@ export default {
     }
   },
   computed: {
+    ShamsiDate() {
+      return ShamsiDate
+    },
     myNotSeenNotificationsCount: {
       get () {
         return this.$store.getters['Auth/myNotSeenNotificationsCount']