mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-16 02:55:03 +00:00
refactor: consolidate pluginInfo internal/legacy fields
This commit is contained in:
parent
8a4f7fe0e8
commit
dfdc6566cf
41 changed files with 46 additions and 51 deletions
|
@ -156,14 +156,14 @@
|
|||
...menu,
|
||||
{
|
||||
label: 'Plugins',
|
||||
items: this.plugins.filter(plugin => !plugin.info.legacy).map(plugin => ({
|
||||
items: this.plugins.filter(plugin => plugin.info.type === "stable").map(plugin => ({
|
||||
label: plugin.info.prettyName || plugin.name,
|
||||
to: `/docs/plugins/${plugin.name}`,
|
||||
})),
|
||||
},
|
||||
{
|
||||
label: "Legacy Plugins",
|
||||
items: this.plugins.filter(plugin => plugin.info.legacy).map(plugin => ({
|
||||
items: this.plugins.filter(plugin => plugin.info.type === "legacy").map(plugin => ({
|
||||
label: plugin.info.prettyName || plugin.name,
|
||||
to: `/docs/plugins/${plugin.name}`,
|
||||
})),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue