Skip to content
Snippets Groups Projects

Migrate branch rule details cards to crud components

Merged Annabel Dunstone Gray requested to merge branch-rule-details into master
All threads resolved!
@@ -354,7 +354,11 @@ export default {
<gl-loading-icon v-if="$apollo.loading" size="lg" />
<div v-else-if="!branchRule && !isPredefinedRule">{{ $options.i18n.noData }}</div>
<div v-else>
<crud-component :title="$options.i18n.ruleTarget" class="gl-mt-3">
<crud-component
:title="$options.i18n.ruleTarget"
class="gl-mt-3"
data-testid="rule-target-card"
>
<template #actions>
<gl-button
v-if="glFeatures.editBranchRules && !isPredefinedRule"
Loading