fixing bugs
This commit is contained in:
@@ -128,8 +128,6 @@ class AdmissionCampaignResource extends Resource
|
|||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
])
|
])
|
||||||
->itemLabel(fn (array $state): ?string =>
|
|
||||||
LevelEducational::tryFrom($state['edu_name'] ?? '')?->getLabel() ?? 'Новый уровень')
|
|
||||||
->collapsible()
|
->collapsible()
|
||||||
->cloneable()
|
->cloneable()
|
||||||
->columnSpanFull(),
|
->columnSpanFull(),
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ import Slider from "@/componentss/features/sliders/Slider.vue";
|
|||||||
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
|
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
|
||||||
import BasicFooter from "@/footers/BasicFooter.vue";
|
import BasicFooter from "@/footers/BasicFooter.vue";
|
||||||
import MetaTags from "@/componentss/shared/SEO/MetaTags.vue";
|
import MetaTags from "@/componentss/shared/SEO/MetaTags.vue";
|
||||||
import Cookies from "js-cookie";
|
|
||||||
import PageResourceList from "@/componentss/shared/pageResource/PageResourceList.vue";
|
import PageResourceList from "@/componentss/shared/pageResource/PageResourceList.vue";
|
||||||
import ContactSectionBlock from "@/componentss/shared/contactSection/ContactSectionBlock.vue";
|
import ContactSectionBlock from "@/componentss/shared/contactSection/ContactSectionBlock.vue";
|
||||||
import EventListItem from "@/componentss/features/events/components/EventListItem.vue";
|
import EventListItem from "@/componentss/features/events/components/EventListItem.vue";
|
||||||
@@ -34,12 +33,6 @@ import EducationSection from "@/componentss/features/mainPage/EducationSection.v
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Main",
|
name: "Main",
|
||||||
computed: {
|
|
||||||
LevelEducational() {
|
|
||||||
return LevelEducational
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
posts: {
|
posts: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -47,15 +40,9 @@ export default {
|
|||||||
events: {
|
events: {
|
||||||
type: Object,
|
type: Object,
|
||||||
},
|
},
|
||||||
sliders: {
|
|
||||||
type: Object,
|
|
||||||
},
|
|
||||||
educations: {
|
educations: {
|
||||||
type: Object,
|
type: Object,
|
||||||
},
|
},
|
||||||
icons: {
|
|
||||||
type: String,
|
|
||||||
},
|
|
||||||
seo: {
|
seo: {
|
||||||
type: Object,
|
type: Object,
|
||||||
}
|
}
|
||||||
@@ -65,7 +52,6 @@ export default {
|
|||||||
EducationSection,
|
EducationSection,
|
||||||
EventSection,
|
EventSection,
|
||||||
PostSection,
|
PostSection,
|
||||||
EventListItem,
|
|
||||||
MetaTags,
|
MetaTags,
|
||||||
BasicFooter,
|
BasicFooter,
|
||||||
PostListItem,
|
PostListItem,
|
||||||
@@ -75,20 +61,6 @@ export default {
|
|||||||
MainPageNavBar,
|
MainPageNavBar,
|
||||||
Head,
|
Head,
|
||||||
Link,
|
Link,
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
|
||||||
Cookies,
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
@@ -81,11 +81,17 @@
|
|||||||
import { debounce } from "lodash";
|
import { debounce } from "lodash";
|
||||||
import {Link} from "@inertiajs/vue3";
|
import {Link} from "@inertiajs/vue3";
|
||||||
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
|
import PostListItem from "@/componentss/features/posts/components/PostListItem.vue";
|
||||||
|
import LevelEducational from "@/Enum/LevelEducational.js";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "EducationSection",
|
name: "EducationSection",
|
||||||
components: {PostListItem, Link},
|
components: {PostListItem, Link},
|
||||||
props: {
|
computed: {
|
||||||
|
LevelEducational() {
|
||||||
|
return LevelEducational
|
||||||
|
}
|
||||||
|
},
|
||||||
|
props: {
|
||||||
educations: {
|
educations: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Reference in New Issue
Block a user