Handle disabled plugin in ui (#5570)

When a plugin is disabled, we should at least show the uninstall option in the plugin option. Eventually we should also detect what version was disabled and offer an update instead
This commit is contained in:
Andrew Camilleri 2023-12-20 10:56:21 +01:00 committed by GitHub
parent 3fc687a2d4
commit 61bf6d33b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -416,6 +416,12 @@
</form>
}
}
@if (disabled)
{
<form asp-action="UnInstallPlugin" asp-route-plugin="@plugin.Identifier">
<button type="submit" class="btn btn-sm btn-outline-danger">Uninstall</button>
</form>
}
</div>
</div>
</div>