fix spaces

This commit is contained in:
xds
2025-02-18 16:16:09 +03:00
parent 7ddbbdbba8
commit f977fe363f
5 changed files with 45 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ import DatePicker from "primevue/datepicker";
import {onMounted, ref} from "vue";
import {getMonthName} from "@/utils/utils";
import {Budget} from "@/models/Budget";
import {getCategories} from "@/services/categoryService";
const props = defineProps({
opened: {
@@ -34,6 +35,10 @@ const create = async () => {
}
}
const categories = ref([])
const fetchCategories = async () => {
await getCategories().then(res => categories.value = res.data)
}
const cancel = () => {
emits("close-modal");