mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix adding new namespace
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
ecb93393d1
commit
09b52a59d8
@ -67,7 +67,7 @@ class NonInjectedAddNamespaceDialog extends React.Component<Props & Dependencies
|
|||||||
const created = await this.props.createNamespace({ name: namespace });
|
const created = await this.props.createNamespace({ name: namespace });
|
||||||
|
|
||||||
onSuccess?.(created);
|
onSuccess?.(created);
|
||||||
this.props.close();
|
this.props.model.close();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
Notifications.error(err);
|
Notifications.error(err);
|
||||||
onError?.(err);
|
onError?.(err);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user