Farbpalette vorladen lassen
Bootstraper läd jetzt die farbeinstellung sofort und nicht nachträglich cleanup and rework PDF switch to HTML export fix Colorsystem Farben für knöpfe hinzugefügt als anpassung button color button color primary and secondary change
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
|
||||
namespace cfs_tracker.ViewModels;
|
||||
|
||||
public partial class SymptomManageItemViewModel : ObservableObject
|
||||
{
|
||||
public int Id { get; init; }
|
||||
|
||||
[ObservableProperty]
|
||||
private string name = string.Empty;
|
||||
|
||||
[ObservableProperty]
|
||||
private bool isActive;
|
||||
|
||||
public bool IsUsed { get; init; }
|
||||
|
||||
public string UsageHint => IsUsed
|
||||
? "Bereits verwendet – kann nur deaktiviert werden."
|
||||
: "Kann gelöscht werden, solange unbenutzt.";
|
||||
}
|
||||
Reference in New Issue
Block a user