added company selector to project form
All checks were successful
Build Docker Image / Docker-Build (push) Successful in 2m5s
Build Docker Image / Clean-Registry (push) Successful in -11s

This commit is contained in:
2026-03-26 12:37:25 +01:00
parent dba2657894
commit d7c32ef69a
3 changed files with 9 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ public class Project implements Mappable {
private final Map<Long,Member> members;
private final Collection<Status> allowedStates;
private boolean showClosed;
private final Long companyId;
private Long companyId;
private int status;
private String name;
private final long id;
@@ -96,6 +96,7 @@ public class Project implements Mappable {
public Project patch(JSONObject json) {
for (var key : json.keySet()){
switch (key){
case COMPANY_ID: companyId = json.getLong(COMPANY_ID); break;
case DESCRIPTION: description = json.getString(key); break;
case NAME: name = json.getString(key); break;
case SHOW_CLOSED: showClosed = json.getBoolean(SHOW_CLOSED); break;