chore: Update deployment directory path in deploy script.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
ssh root@213.226.71.138 "
|
||||
cd /root/luminic/space/app &&
|
||||
cd /root/luminic/front/app &&
|
||||
git pull &&
|
||||
npm run build &&
|
||||
cp -r dist/* /var/www/app.luminic.space/
|
||||
|
||||
@@ -35,6 +35,13 @@ const plannedTransactions = ref<Transaction[]>([]);
|
||||
const currentBaseDate = ref(dayjs());
|
||||
|
||||
const displayMonth = computed(() => {
|
||||
const currentDay = currentBaseDate.value.date();
|
||||
|
||||
// Если текущая дата от 1 до 9, период начинается с 10-го числа предыдущего месяца
|
||||
if (currentDay >= 1 && currentDay <= 9) {
|
||||
return currentBaseDate.value.subtract(1, 'month').format('MMMM YYYY');
|
||||
}
|
||||
|
||||
return currentBaseDate.value.format('MMMM YYYY');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user