Unverified Commit 0b27fe88 authored by Alberto Nale's avatar Alberto Nale Committed by GitHub
Browse files

[KNOWAGE-7084]

Bugfix KNOWAGE-7084
parents 2690521f c7ef9508
......@@ -14,7 +14,7 @@
@documentSaved="$emit('documentSaved', $event)"
>
<keep-alive>
<component :is="Component" :key="key"></component>
<component :is="Component" :key="key" :functionalityId="functionalityId" :item="loadedItem" :parameterValuesMap="parameterValuesMap" :tabKey="key"></component>
</keep-alive>
</router-view>
</template>
......
......@@ -32,7 +32,7 @@
<script lang="ts">
import { defineComponent } from 'vue'
import { iBusinessModelVersion } from '../../BusinessModelCatalogue'
import { formatDate } from '@/helpers/commons/localeHelper'
import { formatDateWithLocale } from '@/helpers/commons/localeHelper'
import { downloadDirect } from '@/helpers/commons/fileHelper'
import { AxiosResponse } from 'axios'
import Card from 'primevue/card'
......@@ -89,7 +89,7 @@ export default defineComponent({
})
},
creationDate(date: string) {
return formatDate(date, 'DD/MM/yyyy HH:mm:ss')
return formatDateWithLocale(date, { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit' })
},
toggle(event: any, version: iBusinessModelVersion) {
this.createMenuItems(version)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment