mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(plugins): avoid list flash when opening plugin (#13690)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<TopNavBar :title="routeInfo.title" :breadcrumb="routeInfo?.breadcrumb" />
|
<TopNavBar :title="routeInfo.title" :breadcrumb="routeInfo?.breadcrumb" />
|
||||||
<template v-if="!pluginIsSelected">
|
<template v-if="isPluginList">
|
||||||
<PluginHome v-if="filteredPlugins" :plugins="filteredPlugins" />
|
<PluginHome v-if="filteredPlugins" :plugins="filteredPlugins" />
|
||||||
</template>
|
</template>
|
||||||
<DocsLayout v-else>
|
<DocsLayout v-else>
|
||||||
@@ -133,8 +133,9 @@
|
|||||||
|
|
||||||
const releaseNotesUrl = computed(() => getPluginReleaseUrl(pluginType.value));
|
const releaseNotesUrl = computed(() => getPluginReleaseUrl(pluginType.value));
|
||||||
|
|
||||||
const pluginIsSelected = computed(
|
|
||||||
() => pluginType.value !== undefined && pluginsStore.plugin !== undefined
|
const isPluginList = computed(
|
||||||
|
() => typeof route.name === "string" && route.name === "plugins/list"
|
||||||
);
|
);
|
||||||
|
|
||||||
function loadToc() {
|
function loadToc() {
|
||||||
|
|||||||
Reference in New Issue
Block a user