aboutsummaryrefslogblamecommitdiff
path: root/resources/js/components/call-sign-filter.vue
blob: 9ad202ddee78531df4411007dc974bb241a9fe85 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
          



                                                                               


           

                                
                













                                         

         
<template>
  <select v-model="selected">
    <option value="all">All</option>
    <option v-for="option in options" :value="option" v-text="option"></option>
  </select>
</template>

<script>
import store from '../store.js';

export default {
  data() {
    return {
      selected: store.state.selectedSign,
      //options: store.state.callSigns
    }
  },
  mounted() {
    store.dispatch('getSigns');
  },
  computed: {
    options() {
      return store.state.callSigns;
    }
  }
}
</script>