Who could've guessed that saving the device info in the ndjsons with absolute paths would be a bad idea

This commit is contained in:
Matěj Kubíček
2026-03-27 19:08:35 +01:00
parent 8a94be4aef
commit 038eb43f1d
5 changed files with 21 additions and 3 deletions
+4
View File
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text.Json.Serialization;
namespace NetworkDiagram.Models
{
@@ -30,6 +31,9 @@ namespace NetworkDiagram.Models
set { _name = value; OnPropertyChanged(); }
}
public string TemplateName { get; set; } = string.Empty;
[JsonIgnore]
public string IconPath { get; set; } = string.Empty;
public double X