Skip to content

Commit

Permalink
namespace create - redirect to Namespace owners on success
Browse files Browse the repository at this point in the history
  • Loading branch information
himdel committed Apr 26, 2022
1 parent 5810a72 commit 3ea899d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/containers/namespace-list/namespace-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,13 @@ export class NamespaceList extends React.Component<IProps, IState> {
toggleModal={this.handleModalToggle}
onCreateSuccess={(result) =>
this.setState({
redirect: formatPath(Paths.myCollections, {
namespace: result['name'],
}),
redirect: formatPath(
Paths.myCollections,
{
namespace: result.name,
},
{ tab: 'owners' },
),
})
}
></NamespaceModal>
Expand Down

0 comments on commit 3ea899d

Please sign in to comment.