Commit e6c14372 authored by Brett Walker's avatar Brett Walker

use camel case for repository_verification_enabled flag

parent 845e0a55
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
<template v-if="showAdvanceItems"> <template v-if="showAdvanceItems">
<template v-if="node.primary"> <template v-if="node.primary">
<geo-node-detail-item <geo-node-detail-item
v-if="nodeDetails.repository_verification_enabled" v-if="nodeDetails.repositoryVerificationEnabled"
:item-title="s__('GeoNodes|Repositories checksummed:')" :item-title="s__('GeoNodes|Repositories checksummed:')"
:success-label="s__('GeoNodes|Checksummed')" :success-label="s__('GeoNodes|Checksummed')"
:neutral-label="s__('GeoNodes|Not checksummed')" :neutral-label="s__('GeoNodes|Not checksummed')"
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
:item-value-type="valueType.GRAPH" :item-value-type="valueType.GRAPH"
/> />
<geo-node-detail-item <geo-node-detail-item
v-if="nodeDetails.repository_verification_enabled" v-if="nodeDetails.repositoryVerificationEnabled"
:item-title="s__('GeoNodes|Wikis checksummed:')" :item-title="s__('GeoNodes|Wikis checksummed:')"
:success-label="s__('GeoNodes|Checksummed')" :success-label="s__('GeoNodes|Checksummed')"
:neutral-label="s__('GeoNodes|Not checksummed')" :neutral-label="s__('GeoNodes|Not checksummed')"
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</template> </template>
<template v-else> <template v-else>
<geo-node-detail-item <geo-node-detail-item
v-if="nodeDetails.repository_verification_enabled" v-if="nodeDetails.repositoryVerificationEnabled"
:item-title="s__('GeoNodes|Repository checksums verified:')" :item-title="s__('GeoNodes|Repository checksums verified:')"
:success-label="s__('GeoNodes|Verified')" :success-label="s__('GeoNodes|Verified')"
:neutral-label="s__('GeoNodes|Unverified')" :neutral-label="s__('GeoNodes|Unverified')"
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
:item-value-type="valueType.GRAPH" :item-value-type="valueType.GRAPH"
/> />
<geo-node-detail-item <geo-node-detail-item
v-if="nodeDetails.repository_verification_enabled" v-if="nodeDetails.repositoryVerificationEnabled"
:item-title="s__('GeoNodes|Wiki checksums verified:')" :item-title="s__('GeoNodes|Wiki checksums verified:')"
:success-label="s__('GeoNodes|Verified')" :success-label="s__('GeoNodes|Verified')"
:neutral-label="s__('GeoNodes|Unverified')" :neutral-label="s__('GeoNodes|Unverified')"
......
...@@ -87,7 +87,7 @@ export default class GeoNodesStore { ...@@ -87,7 +87,7 @@ export default class GeoNodesStore {
successCount: rawNodeDetails.wikis_synced_count || 0, successCount: rawNodeDetails.wikis_synced_count || 0,
failureCount: rawNodeDetails.wikis_failed_count || 0, failureCount: rawNodeDetails.wikis_failed_count || 0,
}, },
repository_verification_enabled: rawNodeDetails.repositories_verified_count != null, repositoryVerificationEnabled: rawNodeDetails.repositories_verified_count != null,
verifiedRepositories: { verifiedRepositories: {
totalCount: rawNodeDetails.repositories_count || 0, totalCount: rawNodeDetails.repositories_count || 0,
successCount: rawNodeDetails.repositories_verified_count || 0, successCount: rawNodeDetails.repositories_verified_count || 0,
......
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