implemented opening and closing of projects right from the project list

This commit is contained in:
2025-07-20 14:09:41 +02:00
parent 85ab2dd853
commit 680afd7700
9 changed files with 82 additions and 20 deletions

View File

@@ -72,7 +72,7 @@ public class Project implements Mappable {
switch (key){
case DESCRIPTION: description = json.getString(key); break;
case NAME: name = json.getString(key); break;
case STATUS: status = Status.of(json.getInt(key)); break;
case STATUS: status = json.get(key) instanceof Number number ? Status.of(number.intValue()) : Status.valueOf(json.getString(key)); break;
default: key = null;
}
if (key != null) dirtyFields.add(key);