Skip to content
Snippets Groups Projects

Protected containers: Create protection rules in project settings

3 files
+ 6
11
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -18,7 +18,7 @@ export default {
},
inject: ['projectPath'],
i18n: {
protection_rule_saved_error_message: s__(
protectionRuleSavedErrorMessage: s__(
'ContainerRegistry|Something went wrong while saving the protection rule.',
),
},
@@ -87,7 +87,7 @@ export default {
);
})
.catch(() => {
this.alertErrorMessage = this.$options.i18n.protection_rule_saved_error_message;
this.alertErrorMessage = this.$options.i18n.protectionRuleSavedErrorMessage;
})
.finally(() => {
this.updateInProgress = false;
Loading