mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
use tabs to seperate search results
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div v-show="name == selectedTab">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { inject } from "vue";
|
||||
|
||||
defineProps<{
|
||||
name: string;
|
||||
}>();
|
||||
|
||||
const selectedTab = inject("currentTab");
|
||||
</script>
|
||||
Reference in New Issue
Block a user