Fix plugin rows not being keyed properly, causing incorrect notifications
This commit is contained in:
parent
f40de42478
commit
0077e1000c
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
async function deletePlugin() {
|
||||
try {
|
||||
await plugins.deletePlugin(plugin._id)
|
||||
notifications.success(`Plugin ${plugin?.name} deleted.`)
|
||||
notifications.success(`Plugin ${plugin?.name} deleted`)
|
||||
dispatch("deleted")
|
||||
} catch (error) {
|
||||
const msg = error?.message ? error.message : JSON.stringify(error)
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</div>
|
||||
{#if filteredPlugins?.length}
|
||||
<Layout noPadding gap="S">
|
||||
{#each filteredPlugins as plugin}
|
||||
{#each filteredPlugins as plugin (plugin._id)}
|
||||
<PluginRow {plugin} />
|
||||
{/each}
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in a new issue