Skip to content

Commit

Permalink
frontend: Fix undefined appId breaking group edit
Browse files Browse the repository at this point in the history
Signed-off-by: Santhosh Nagaraj S <[email protected]>
  • Loading branch information
yolossn committed Sep 1, 2022
1 parent 5b07da9 commit d69703f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function GroupEditDialog(props: GroupEditDialogProps) {
if (values.timezone) data['policy_timezone'] = values.timezone;

let packageFunctionCall;
data['application_id'] = props.data.appID;
data['application_id'] = props.data.appID || props.data.group.application_id;
if (isCreation) {
packageFunctionCall = applicationsStore().createGroup(data as Group);
} else {
Expand Down

0 comments on commit d69703f

Please sign in to comment.