File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 167167 <router-link :to =" { path: getVmRouteUsingType(record) + record.virtualmachineid }" >{{ text }}</router-link >
168168 </template >
169169 <template v-if =" column .key === ' volumename' " >
170- <router-link v-if =" validLinks [record.id]?.volume" :to =" { path: '/volume/' + record.volumeid }" >{{ text }}</router-link >
170+ <router-link v-if =" resourceIdToValidLinksMap [record.id]?.volume" :to =" { path: '/volume/' + record.volumeid }" >{{ text }}</router-link >
171171 <span v-else >{{ text }}</span >
172172 </template >
173173 <template v-if =" column .key === ' size' " >
@@ -579,7 +579,7 @@ export default {
579579 disable: ' storageallocateddisablethreshold'
580580 }
581581 },
582- validLinks : {}
582+ resourceIdToValidLinksMap : {}
583583 }
584584 },
585585 watch: {
@@ -588,7 +588,7 @@ export default {
588588 handler (newData , oldData ) {
589589 if (newData === oldData) return
590590 this .items .forEach (record => {
591- this .validLinks [record .id ] = validateLinks (this .$router , false , record)
591+ this .resourceIdToValidLinksMap [record .id ] = validateLinks (this .$router , false , record)
592592 })
593593 }
594594 }
You can’t perform that action at this time.
0 commit comments