Skip to content

Commit

Permalink
Change property name to match update in parent
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf King <[email protected]>
  • Loading branch information
rkg-mm committed Sep 28, 2024
1 parent b99e943 commit 03eec49
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/views/policy/PolicyList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ export default {
</b-col>
<b-col>
<b-input-group-form-switch
id="isOnlyForLatestProjectVersion"
id="isOnlyLatestProjectVersion"
:label="$t('message.policy_is_only_for_latest_project_version')"
v-model="onlyForLatestProjectVersion"
v-model="onlyLatestProjectVersion"
/>
</b-col>
</b-row>
Expand Down Expand Up @@ -220,7 +220,7 @@ export default {
limitToVisible: false,
tags: row.tags,
includeChildren: row.includeChildren,
onlyForLatestProjectVersion: row.onlyForLatestProjectVersion,
onlyLatestProjectVersion: row.onlyLatestProjectVersion,
};
},
methods: {
Expand Down Expand Up @@ -264,8 +264,8 @@ export default {
operator: this.operator,
violationState: this.violationState,
includeChildren: this.includeChildren,
onlyForLatestProjectVersion:
this.onlyForLatestProjectVersion,
onlyLatestProjectVersion:
this.onlyLatestProjectVersion,
})
.then((response) => {
// prevent that "limit to" details are hidden after updates where table does not need to refresh
Expand Down Expand Up @@ -305,8 +305,8 @@ export default {
this.violationState = policy.violationState;
this.conditions = policy.policyConditions;
this.includeChildren = policy.includeChildren;
this.onlyForLatestProjectVersion =
policy.onlyForLatestProjectVersion;
this.onlyLatestProjectVersion =
policy.onlyLatestProjectVersion;
},
deleteProjectLimiter: function (projectUuid) {
let url = `${this.$api.BASE_URL}/${this.$api.URL_POLICY}/${this.policy.uuid}/project/${projectUuid}`;
Expand Down Expand Up @@ -398,7 +398,7 @@ export default {
includeChildren() {
this.updatePolicy();
},
onlyForLatestProjectVersion() {
onlyLatestProjectVersion() {
this.updatePolicy();
},
},
Expand Down

0 comments on commit 03eec49

Please sign in to comment.