diff --git a/CouchLog/Components/Pages/PrivateList.razor b/CouchLog/Components/Pages/PrivateList.razor
index 545671e..293e060 100644
--- a/CouchLog/Components/Pages/PrivateList.razor
+++ b/CouchLog/Components/Pages/PrivateList.razor
@@ -179,7 +179,9 @@
Optionen
- Optionen...
+
+
+
@@ -189,6 +191,16 @@
};
+ private async Task RemoveEntityFromPrivateList(PrivateEntity entity)
+ {
+ //Delete DB
+ CouchLogDB.PrivateEntities.Remove(entity);
+ await CouchLogDB.SaveChangesAsync();
+
+ //Delete Memory List
+ PrivateEntities.Remove(entity);
+ }
+
private async Task UpdateWatchStatus(PrivateEntity entity, object? newValue)
{
if (int.TryParse(newValue?.ToString(), out int newId))