chore: Update deployment server IP and path, and add date sorting for planned transactions.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
ssh root@213.226.71.138 "
|
||||
cd /root/luminic/front/app &&
|
||||
ssh root@31.59.58.220 "
|
||||
cd /root/luminic/app/front &&
|
||||
git pull &&
|
||||
npm run build &&
|
||||
cp -r dist/* /var/www/app.luminic.space/
|
||||
|
||||
@@ -73,6 +73,7 @@ const fetchData = async (fetchPlanned: boolean = true, fetchInstant: boolean = t
|
||||
isDone: showIsDone.value ? undefined : false,
|
||||
offset: plannedOffset.value,
|
||||
limit: plannedLimit.value,
|
||||
sorts: [{ "sortBy": "date", "sortDirection": "ASC" }]
|
||||
} as TransactionFilters) // никаких `as TransactionFilters`, если поля опциональные
|
||||
: Promise.resolve(plannedTransactions.value)
|
||||
|
||||
@@ -132,7 +133,8 @@ onMounted(async () => {
|
||||
<div class="flex flex-row justify-between">
|
||||
<span class="text-xl !font-semibold !pl-2">Planned transactions</span>
|
||||
<div class="flex flex-row gap-2 items-center">
|
||||
<Checkbox v-model="showIsDone" binary value=" Показывать выполненные" @change="plannedOffset = 0;fetchData(true, false, true)"/>
|
||||
<Checkbox v-model="showIsDone" binary value=" Показывать выполненные"
|
||||
@change="plannedOffset = 0; fetchData(true, false, true)" />
|
||||
<span class="!text-sm">Выполненные</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -207,6 +209,4 @@ onMounted(async () => {
|
||||
</template>
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
<style scoped></style>
|
||||
Reference in New Issue
Block a user