fix spaces
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user