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
|
// If the attempt to create the new namespace
|
||||||
// is successful, save the resource.
|
// is successful, save the resource.
|
||||||
this.$emit('finish');
|
this.$emit('finish', buttonDone);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// After the attempt to create the namespace,
|
// After the attempt to create the namespace,
|
||||||
// show any applicable errors if the namespace is
|
// show any applicable errors if the namespace is
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import CreateEditView from '@shell/mixins/create-edit-view';
|
import CreateEditView from '@shell/mixins/create-edit-view';
|
||||||
import CruResource from '@shell/components/CruResource';
|
import CruResource from '@shell/components/CruResource';
|
||||||
|
import Banner from 'pkg/rancher-components/src/components/Banner/Banner.vue';
|
||||||
import { MANAGEMENT } from '@shell/config/types';
|
import { MANAGEMENT } from '@shell/config/types';
|
||||||
import Loading from '@shell/components/Loading';
|
import Loading from '@shell/components/Loading';
|
||||||
import ClusterPermissionsEditor from '@shell/components/form/Members/ClusterPermissionsEditor';
|
import ClusterPermissionsEditor from '@shell/components/form/Members/ClusterPermissionsEditor';
|
||||||
|
|
@ -8,6 +9,7 @@ import { exceptionToErrorsArray } from '@shell/utils/error';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
Banner,
|
||||||
ClusterPermissionsEditor,
|
ClusterPermissionsEditor,
|
||||||
CruResource,
|
CruResource,
|
||||||
Loading,
|
Loading,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue