mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +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
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<TemplatesView :goBackEnabled="true">
|
||||
<template v-slot:header>
|
||||
<template #header>
|
||||
<div v-if="!notFoundError" :class="$style.wrapper">
|
||||
<div :class="$style.title">
|
||||
<n8n-heading v-if="collection && collection.name" tag="h1" size="2xlarge">
|
||||
@@ -16,7 +16,7 @@
|
||||
<n8n-text color="text-base">{{ $locale.baseText('templates.collectionsNotFound') }}</n8n-text>
|
||||
</div>
|
||||
</template>
|
||||
<template v-if="!notFoundError" v-slot:content>
|
||||
<template v-if="!notFoundError" #content>
|
||||
<div :class="$style.wrapper">
|
||||
<div :class="$style.mainContent">
|
||||
<div :class="$style.markdown" v-if="loading || (collection && collection.description)">
|
||||
|
||||
Reference in New Issue
Block a user