<template>
    <concerned-groups v-if="hasPerson" />
    <social-issues-acc v-if="hasSocialIssues" />
    <location v-if="hasLocation" />
    <comment-editor v-if="isSimpleEditor"/>
</template>

<script>
import ConcernedGroups from "./components/ConcernedGroups.vue";
import SocialIssuesAcc from "./components/SocialIssuesAcc.vue";
import Location from "./components/Location.vue";
import CommentEditor from "ChillMainAssets/vuejs/_components/CommentEditor.vue"

export default {
    name: "App",
    props: ["hasSocialIssues", "hasLocation", "hasPerson", "isSimpleEditor"],
    components: {
        ConcernedGroups,
        SocialIssuesAcc,
        Location,
        CommentEditor
    },
};
</script>
