File tree 1 file changed +2
-1
lines changed
admin-ui/plugins/jans-link/components/Tabs
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { putCacheRefreshConfiguration } from 'Plugins/jans-link/redux/features/C
14
14
import GluuCommitDialog from 'Routes/Apps/Gluu/GluuCommitDialog'
15
15
import { useTranslation } from 'react-i18next'
16
16
import { buildPayload } from 'Utils/PermChecker'
17
+ import moment from 'moment/moment'
17
18
18
19
const CacheRefreshTab = ( ) => {
19
20
const { t } = useTranslation ( )
@@ -121,7 +122,7 @@ const CacheRefreshTab = () => {
121
122
< Col sm = { 12 } >
122
123
< Row >
123
124
< GluuLabel label = { 'fields.last_run' } size = { 3 } />
124
- < Col sm = { 9 } > { formik . values . lastUpdate } </ Col >
125
+ < Col sm = { 9 } > { formik . values . lastUpdate ? moment ( formik . values . lastUpdate ) . format ( 'YYYY-MM-DD HH:mm:ss' ) : null } </ Col >
125
126
</ Row >
126
127
</ Col >
127
128
< Col sm = { 12 } >
You can’t perform that action at this time.
0 commit comments