Skip to content

Commit c3a1ea4

Browse files
authored
Merge pull request #1218 from GluuFederation/admin-ui-issue-1217
fix(admin-ui): jans-link not opening in admin-ui after running job #1217
2 parents 2e7ecda + bc69bd2 commit c3a1ea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

admin-ui/plugins/jans-link/components/Tabs/CacheRefreshTab.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { putCacheRefreshConfiguration } from 'Plugins/jans-link/redux/features/C
1414
import GluuCommitDialog from 'Routes/Apps/Gluu/GluuCommitDialog'
1515
import { useTranslation } from 'react-i18next'
1616
import { buildPayload } from 'Utils/PermChecker'
17+
import moment from 'moment/moment'
1718

1819
const CacheRefreshTab = () => {
1920
const { t } = useTranslation()
@@ -121,7 +122,7 @@ const CacheRefreshTab = () => {
121122
<Col sm={12}>
122123
<Row>
123124
<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>
125126
</Row>
126127
</Col>
127128
<Col sm={12}>

0 commit comments

Comments
 (0)