mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
landscape: fix groupify redirect
This commit is contained in:
parent
f2d38ffb1a
commit
181401c153
@ -47,7 +47,8 @@ export function GroupifyForm(props: GroupifyFormProps) {
|
||||
);
|
||||
}
|
||||
const mod = association.metadata.module || association['app-name'];
|
||||
history.push(`/~landscape${values.group}/resource/${mod}${association['app-path']}`);
|
||||
const newGroup = values.group || association['group-path'];
|
||||
history.push(`/~landscape${newGroup}/resource/${mod}${association['app-path']}`);
|
||||
actions.setStatus({ success: null });
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
Loading…
Reference in New Issue
Block a user