mirror of https://github.com/rancher/dashboard.git
Merge pull request #6156 from rancher/fix-cruresource
Pass data when emitting finish event
This commit is contained in:
commit
29b191fb00
|
|
@ -280,7 +280,7 @@ export default {
|
|||
|
||||
// If the attempt to create the new namespace
|
||||
// is successful, save the resource.
|
||||
this.$emit('finish');
|
||||
this.$emit('finish', buttonDone);
|
||||
} catch (err) {
|
||||
// After the attempt to create the namespace,
|
||||
// show any applicable errors if the namespace is
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<script>
|
||||
import CreateEditView from '@shell/mixins/create-edit-view';
|
||||
import CruResource from '@shell/components/CruResource';
|
||||
import Banner from 'pkg/rancher-components/src/components/Banner/Banner.vue';
|
||||
import { MANAGEMENT } from '@shell/config/types';
|
||||
import Loading from '@shell/components/Loading';
|
||||
import ClusterPermissionsEditor from '@shell/components/form/Members/ClusterPermissionsEditor';
|
||||
|
|
@ -8,6 +9,7 @@ import { exceptionToErrorsArray } from '@shell/utils/error';
|
|||
|
||||
export default {
|
||||
components: {
|
||||
Banner,
|
||||
ClusterPermissionsEditor,
|
||||
CruResource,
|
||||
Loading,
|
||||
|
|
|
|||
Loading…
Reference in New Issue