|
60 | 60 | <div id="cve-cna-cve-program-containers"> |
61 | 61 | <h2 class="title">Required CVE Record Information</h2> |
62 | 62 | <AdpVulnerabilityEnrichment v-if="Object.keys(cnaContainer).length > 0" role="cna" :selectedCnaData="cveFieldList" |
63 | | - :containerObject="cnaContainer" :orgId="`cna-${cnaContainer.providerMetadata.orgId}`" :anchorId="cnaContainer.onPageMenu.anchorId" |
64 | | - > |
65 | | - |
| 63 | + :containerObject="cnaContainer" :orgId="`cna-${cnaContainer.providerMetadata.orgId}`" :anchorId="cnaContainer.onPageMenu.anchorId"> |
66 | 64 | <h3 class="mb-1 has-text-white cve-capitalize-first-letter"> |
67 | | - <span v-if="isLoading">{{ cnaContainer.onPageMenu.label }} </span> |
| 65 | + <span v-if="!isLoading">{{ cnaContainer.onPageMenu.label }} </span> |
68 | 66 | <span v-else> |
69 | 67 | <span class="icon"> |
70 | | - <span class="loader is-loading"/> |
71 | | - </span> |
| 68 | + <span class="loader is-loading"/> |
| 69 | + </span> |
| 70 | + <span class="ml-2">Loading...</span> |
72 | 71 | </span> |
73 | 72 | </h3> |
74 | 73 | </AdpVulnerabilityEnrichment> |
75 | 74 | <!-- <AdpVulnerabilityEnrichment v-if="!useCveRecordLookupStore.hasHistoricalReferences" role="cna" :containerObject="cnaContainer"></AdpVulnerabilityEnrichment> --> |
76 | 75 | <AdpVulnerabilityEnrichment v-if="Object.keys(cveProgramContainer).length > 0" role='cveProgram' |
77 | 76 | :selectedCnaData="{}" :containerObject="cveProgramContainer" :orgId="`cve-program-${cveProgramContainer.providerMetadata.orgId}`" |
78 | | - :anchorId="cveProgramContainer.onPageMenu.anchorId" |
79 | | - > |
| 77 | + :anchorId="cveProgramContainer.onPageMenu.anchorId"> |
80 | 78 | <h3 class="mb-1 has-text-white cve-capitalize-first-letter">{{ cveProgramContainer.onPageMenu.label }}</h3> |
81 | 79 | </AdpVulnerabilityEnrichment> |
82 | 80 | </div> |
|
89 | 87 | <AdpVulnerabilityEnrichment v-if="adpContainer.providerMetadata.shortName === 'CISA-ADP'" role="adp" :selectedCnaData="{}" |
90 | 88 | :containerObject="adpContainer" :orgId="`adp-${adpContainer.providerMetadata.orgId}`" :anchorId="adpContainer.onPageMenu.anchorId" |
91 | 89 | > |
92 | | - <h3 class="mb-1 has-text-white cve-capitalize-first-letter">{{ adpContainer.onPageMenu.label }}</h3> |
| 90 | + <h3 class="mb-1 has-text-white cve-capitalize-first-letter"> |
| 91 | + <span v-if="!isLoading">{{ adpContainer.onPageMenu.label }}</span> |
| 92 | + <span v-else> |
| 93 | + <span class="icon"> |
| 94 | + <span class="loader is-loading"/> |
| 95 | + </span> |
| 96 | + <span class="ml-2">Loading...</span> |
| 97 | + </span> |
| 98 | + </h3> |
93 | 99 | </AdpVulnerabilityEnrichment> |
94 | 100 | <!-- <div v-for="(adpContainer) in cveFieldList.productsStatus.adp" :key="adpContainer.key" |
95 | 101 | class="mt-5" |
|
0 commit comments