Fix plugin rows not being keyed properly, causing incorrect notifications
This commit is contained in:
parent
6fae59a608
commit
bdcf717305
|
@ -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 New Issue