<script setup>
import { currentDepartment, selectDepartment } from "@/components/session/Session.vue";
</script>

<template>
  <div>
    <h1 class="title is-3">Afdeling</h1>
    <h3 class="subtitle is-5">Her kan du vælge en afdeling</h3>
    <div class="select">
      <select v-model="currentDepartment" @change="selectDepartment(currentDepartment)">
        <option disabled value="">Vælg afdeling</option>
        <option value="1">Afdeling 1</option>
        <option value="2">Afdeling 2</option>
        <option value="3">Afdeling 3</option>
      </select>
    </div>
  </div>
</template>

<style scoped>

</style>