fixing bugs

This commit is contained in:
F4ilji
2025-04-20 14:46:55 +05:00
parent 5cfa777a6b
commit 1f43966ce3
3 changed files with 8 additions and 32 deletions
@@ -128,8 +128,6 @@ class AdmissionCampaignResource extends Resource
]),
]),
])
->itemLabel(fn (array $state): ?string =>
LevelEducational::tryFrom($state['edu_name'] ?? '')?->getLabel() ?? 'Новый уровень')
->collapsible()
->cloneable()
->columnSpanFull(),
+1 -29
View File
@@ -22,7 +22,6 @@ import Slider from "@/componentss/features/sliders/Slider.vue";
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
import BasicFooter from "@/footers/BasicFooter.vue";
import MetaTags from "@/componentss/shared/SEO/MetaTags.vue";
import Cookies from "js-cookie";
import PageResourceList from "@/componentss/shared/pageResource/PageResourceList.vue";
import ContactSectionBlock from "@/componentss/shared/contactSection/ContactSectionBlock.vue";
import EventListItem from "@/componentss/features/events/components/EventListItem.vue";
@@ -34,12 +33,6 @@ import EducationSection from "@/componentss/features/mainPage/EducationSection.v
export default {
name: "Main",
computed: {
LevelEducational() {
return LevelEducational
}
},
props: {
posts: {
type: Object,
@@ -47,15 +40,9 @@ export default {
events: {
type: Object,
},
sliders: {
type: Object,
},
educations: {
type: Object,
},
icons: {
type: String,
},
seo: {
type: Object,
}
@@ -65,7 +52,6 @@ export default {
EducationSection,
EventSection,
PostSection,
EventListItem,
MetaTags,
BasicFooter,
PostListItem,
@@ -75,20 +61,6 @@ export default {
MainPageNavBar,
Head,
Link,
},
methods: {
Cookies,
},
}
</script>
<style scoped>
</style>
</script>
@@ -81,11 +81,17 @@
import { debounce } from "lodash";
import {Link} from "@inertiajs/vue3";
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
import LevelEducational from "@/Enum/LevelEducational.js";
export default {
name: "EducationSection",
components: {PostListItem, Link},
props: {
computed: {
LevelEducational() {
return LevelEducational
}
},
props: {
educations: {
type: Object,
required: true