mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor: Migrate Vue slots to the new syntax (#4603)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
6757c9a2ea
commit
600b285a44
@@ -11,10 +11,10 @@
|
||||
:style="styles"
|
||||
append-to-body
|
||||
>
|
||||
<template v-slot:title v-if="$scopedSlots.header">
|
||||
<template #title v-if="$scopedSlots.header">
|
||||
<slot name="header" v-if="!loading" />
|
||||
</template>
|
||||
<template v-slot:title v-else-if="title">
|
||||
<template #title v-else-if="title">
|
||||
<div :class="centerTitle ? $style.centerTitle : ''">
|
||||
<div v-if="title">
|
||||
<n8n-heading tag="h1" size="xlarge">{{title}}</n8n-heading>
|
||||
|
||||
Reference in New Issue
Block a user