fix: null check (#11831)

[skip changelog]
This commit is contained in:
status102
2025-02-10 15:38:18 +08:00
committed by GitHub
parent aa4bd03e38
commit 656256dc66
3 changed files with 5 additions and 6 deletions

View File

@@ -145,7 +145,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
}
}
private string _dormThresholdLabel;
private string _dormThresholdLabel = string.Empty;
/// <summary>
/// Gets or sets the label of dormitory threshold.