<script>
import { mapGetters } from "vuex";
import BarrioLogin from "./input/BarrioLogin.vue";
import UserLogin from "./input/UserLogin.vue";

export default {
    name: "LoginInput",
    components: { UserLogin, BarrioLogin },
    computed: {
        ...mapGetters("login", ["urlRol"]),
    },
}
</script>

<template>
    <div>
        <user-login v-if="urlRol === 'comisiones'"/>
        <barrio-login v-else/>
    </div>
</template>

<style scoped>

</style>
