mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 12:14:41 -05:00
Merge pull request #3330 from chakflying/fix/datetime-wrong-type
Chore: Fix incorrect data type for DateTime component
This commit is contained in:
commit
973db9d4b2
@ -325,7 +325,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="refresh-info mb-2">
|
<div class="refresh-info mb-2">
|
||||||
<div>{{ $t("Last Updated") }}: <date-time :value="lastUpdateTime" /></div>
|
<div>{{ $t("Last Updated") }}: {{ lastUpdateTimeDisplay }}</div>
|
||||||
<div>{{ $tc("statusPageRefreshIn", [ updateCountdownText]) }}</div>
|
<div>{{ $tc("statusPageRefreshIn", [ updateCountdownText]) }}</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
@ -360,7 +360,6 @@ import DOMPurify from "dompurify";
|
|||||||
import Confirm from "../components/Confirm.vue";
|
import Confirm from "../components/Confirm.vue";
|
||||||
import PublicGroupList from "../components/PublicGroupList.vue";
|
import PublicGroupList from "../components/PublicGroupList.vue";
|
||||||
import MaintenanceTime from "../components/MaintenanceTime.vue";
|
import MaintenanceTime from "../components/MaintenanceTime.vue";
|
||||||
import DateTime from "../components/Datetime.vue";
|
|
||||||
import { getResBaseURL } from "../util-frontend";
|
import { getResBaseURL } from "../util-frontend";
|
||||||
import { STATUS_PAGE_ALL_DOWN, STATUS_PAGE_ALL_UP, STATUS_PAGE_MAINTENANCE, STATUS_PAGE_PARTIAL_DOWN, UP, MAINTENANCE } from "../util.ts";
|
import { STATUS_PAGE_ALL_DOWN, STATUS_PAGE_ALL_UP, STATUS_PAGE_MAINTENANCE, STATUS_PAGE_PARTIAL_DOWN, UP, MAINTENANCE } from "../util.ts";
|
||||||
import Tag from "../components/Tag.vue";
|
import Tag from "../components/Tag.vue";
|
||||||
@ -386,7 +385,6 @@ export default {
|
|||||||
Confirm,
|
Confirm,
|
||||||
PrismEditor,
|
PrismEditor,
|
||||||
MaintenanceTime,
|
MaintenanceTime,
|
||||||
DateTime,
|
|
||||||
Tag,
|
Tag,
|
||||||
VueMultiselect
|
VueMultiselect
|
||||||
},
|
},
|
||||||
@ -583,6 +581,10 @@ export default {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
lastUpdateTimeDisplay() {
|
||||||
|
return this.$root.datetime(this.lastUpdateTime);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user