mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-24 05:28:49 +02:00
dep:#64 updated frontend packages and fixed changes
This commit is contained in:
@ -17,7 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, useSlots } from "vue";
|
||||
import { computed, SetupContext, useSlots } from "vue";
|
||||
|
||||
defineProps<{
|
||||
hideContent: boolean;
|
||||
@ -44,7 +44,7 @@ defineProps<{
|
||||
};
|
||||
}>();
|
||||
|
||||
const slots = useSlots();
|
||||
const slots: SetupContext["slots"] = useSlots();
|
||||
const hasSlot = (name: string) => {
|
||||
return !!slots[name];
|
||||
};
|
||||
|
Reference in New Issue
Block a user