Fixed the bug where users cannot delete a self-hosted provider when an API token was never entered

This commit is contained in:
Thorsten Sommer 2024-07-28 16:53:20 +02:00
parent f3aa38e090
commit e3229290a4
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 4 additions and 2 deletions

View File

@ -73,9 +73,10 @@ public sealed class SettingsManager
/// <summary>
/// Data structure for deleting a secret response.
/// </summary>
/// <param name="Success">True, when the secret was successfully deleted.</param>
/// <param name="Success">True, when the secret was successfully deleted or not found.</param>
/// <param name="Issue">The issue, when the secret could not be deleted.</param>
public readonly record struct DeleteSecretResponse(bool Success, string Issue);
/// <param name="WasEntryFound">True, when the entry was found and deleted.</param>
public readonly record struct DeleteSecretResponse(bool Success, string Issue, bool WasEntryFound);
/// <summary>
/// Tries to delete the API key for the given provider.

View File

@ -6,6 +6,7 @@
- Improved readability of the issue component
- Improved switches: when an option is enabled, the switch is using a different color
- Fixed the applying of spellchecking settings to the single-line dialog
- Fixed the bug where users cannot delete a self-hosted provider when an API token was never entered
- Restructured the layout of the settings page
- Refactored the settings data model
- Upgraded to Rust 1.80.0