Migrate to GlButton in monitoring dashboard actions

parent 859fdf49
<script>
import { mapState, mapGetters, mapActions } from 'vuex';
import {
GlDeprecatedButton,
GlButton,
GlDropdown,
GlDropdownDivider,
GlDropdownItem,
......@@ -22,7 +22,7 @@ import { getAddMetricTrackingOptions } from '../utils';
export default {
components: {
GlDeprecatedButton,
GlButton,
GlDropdown,
GlDropdownDivider,
GlDropdownItem,
......@@ -178,10 +178,10 @@ export default {
/>
</form>
<div slot="modal-footer">
<gl-deprecated-button @click="hideAddMetricModal">
<gl-button @click="hideAddMetricModal">
{{ __('Cancel') }}
</gl-deprecated-button>
<gl-deprecated-button
</gl-button>
<gl-button
v-track-event="getAddMetricTrackingOptions()"
data-testid="add-metric-modal-submit-button"
:disabled="!customMetricsFormIsValid"
......@@ -189,7 +189,7 @@ export default {
@click="submitCustomMetricsForm"
>
{{ __('Save changes') }}
</gl-deprecated-button>
</gl-button>
</div>
</gl-modal>
</template>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment