|
@@ -207,27 +207,6 @@
|
|
|
await OnDeleted.InvokeAsync(Other.Name);
|
|
await OnDeleted.InvokeAsync(Other.Name);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public class OtherEditModel
|
|
|
|
|
- {
|
|
|
|
|
- public string? Model { get; set; }
|
|
|
|
|
- public string? Description { get; set; }
|
|
|
|
|
- public string? Notes { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- public static OtherEditModel From(Other other)
|
|
|
|
|
- {
|
|
|
|
|
- return new OtherEditModel
|
|
|
|
|
- {
|
|
|
|
|
- Model = other.Model,
|
|
|
|
|
- Description = other.Description,
|
|
|
|
|
- Notes = other.Notes
|
|
|
|
|
- };
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-@code
|
|
|
|
|
-{
|
|
|
|
|
bool _renameOpen;
|
|
bool _renameOpen;
|
|
|
|
|
|
|
|
void OpenRename()
|
|
void OpenRename()
|
|
@@ -241,10 +220,6 @@
|
|
|
Nav.NavigateTo($"resources/hardware/{Uri.EscapeDataString(newName)}");
|
|
Nav.NavigateTo($"resources/hardware/{Uri.EscapeDataString(newName)}");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-@code
|
|
|
|
|
-{
|
|
|
|
|
bool _cloneOpen;
|
|
bool _cloneOpen;
|
|
|
|
|
|
|
|
void OpenClone()
|
|
void OpenClone()
|
|
@@ -259,4 +234,21 @@
|
|
|
Nav.NavigateTo($"resources/hardware/{Uri.EscapeDataString(newName)}");
|
|
Nav.NavigateTo($"resources/hardware/{Uri.EscapeDataString(newName)}");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public class OtherEditModel
|
|
|
|
|
+ {
|
|
|
|
|
+ public string? Model { get; set; }
|
|
|
|
|
+ public string? Description { get; set; }
|
|
|
|
|
+ public string? Notes { get; set; }
|
|
|
|
|
+
|
|
|
|
|
+ public static OtherEditModel From(Other other)
|
|
|
|
|
+ {
|
|
|
|
|
+ return new OtherEditModel
|
|
|
|
|
+ {
|
|
|
|
|
+ Model = other.Model,
|
|
|
|
|
+ Description = other.Description,
|
|
|
|
|
+ Notes = other.Notes
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
}
|
|
}
|