d85f2e0fb3
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
21 lines
499 B
C#
21 lines
499 B
C#
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.";
|
||
}
|