fix: Make SelectOptions work in dropdowns (#2617)

SelectOptions in drop downs appeared empty.

FIXES: WEB-293
This commit is contained in:
Felix van Hove
2025-08-25 14:34:02 -06:00
committed by GitHub
parent 1bf8dcb3f4
commit 933f9b8133
@@ -3,8 +3,8 @@ export class SelectOption {
id: number;
name: string;
constructor({ id, name }: { id: number; name: string }) {
this.id = id;
this.name = name;
constructor(options: any[]) {
this.id = options[0];
this.name = options[1];
}
}