From de233c2d70de3e8fcaa2d745e75d2bc174384462 Mon Sep 17 00:00:00 2001 From: Tim Schmidt Date: Thu, 7 Mar 2024 13:00:58 -0800 Subject: [PATCH] fix: styling Signed-off-by: Tim Schmidt --- src/components/DateTimePicker.vue | 22 ++++++++++++++++++---- src/pages/AccountDetails.vue | 10 ++++++++-- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/components/DateTimePicker.vue b/src/components/DateTimePicker.vue index a980a827b..c31b8de0f 100644 --- a/src/components/DateTimePicker.vue +++ b/src/components/DateTimePicker.vue @@ -21,8 +21,8 @@ @@ -50,7 +50,7 @@ export default defineComponent({ }, setup(props) { - const date = ref() + const date = ref(new Date()) const handleClosed = () => { if (props.controller) { const controller = props.controller @@ -86,4 +86,18 @@ export default defineComponent({ - \ No newline at end of file diff --git a/src/pages/AccountDetails.vue b/src/pages/AccountDetails.vue index 714695ad7..1038f379b 100644 --- a/src/pages/AccountDetails.vue +++ b/src/pages/AccountDetails.vue @@ -224,7 +224,7 @@ - + @@ -372,10 +372,15 @@ export default defineComponent({ const isTouchDevice = inject('isTouchDevice', false) const timeSelection = ref("LATEST") + function onLatest() { transactionTableController.startAutoRefresh() } + function onJump() { + transactionTableController.stopAutoRefresh() + } + // // account // @@ -497,7 +502,8 @@ export default defineComponent({ handleTabUpdate, filterVerified, timeSelection, - onLatest + onLatest, + onJump } } });