mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +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