taby: nawigacja

This commit is contained in:
2023-02-13 16:06:10 +01:00
parent 62886dd5bf
commit 132b5d5273
5 changed files with 81 additions and 39 deletions
+1 -5
View File
@@ -2,7 +2,6 @@
<div class="number-generator tab">
<div class="tab_header">
<h2>GENERATOR NUMERU POCIĄGU</h2>
<button class="btn" @click="() => (store.stockSectionMode = 'stock-list')">POWRÓT DO LISTY &gt;</button>
</div>
<div class="tab_content">
@@ -35,15 +34,12 @@
</template>
<script setup lang="ts">
import { Ref, computed, ref } from 'vue';
import { useStore } from '../../store';
import { Ref, ref } from 'vue';
import genData from '../../constants/numberGeneratorData.json';
type RegionName = keyof typeof genData.regionNumbers;
const store = useStore();
const beginRegionName = ref(null) as Ref<RegionName | null>;
const endRegionName = ref(null) as Ref<RegionName | null>;
const categoryRules = ref(null) as Ref<string | null>;