Skip to content

Commit 0806656

Browse files
Merge pull request #450 from range-of-motion/replace-hard-coded-date-on-page-for-creating-transaction
Replace hard-coded date on page for creating transaction
2 parents 160627d + 604b90e commit 0806656

File tree

1 file changed

+1
-1
lines changed
  • resources/assets/js/prototype/screens/Transactions

1 file changed

+1
-1
lines changed

resources/assets/js/prototype/screens/Transactions/Create.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Navigation from '../../components/Navigation.vue';
77
const router = getCurrentInstance().proxy.$router;
88
99
const type = ref('earning');
10-
const happened_on = ref('2023-11-02');
10+
const happened_on = ref(new Date().toJSON().slice(0, 10));
1111
const description = ref('');
1212
const amount = ref(10.00);
1313

0 commit comments

Comments
 (0)