Copilot commented on code in PR #11943:
URL: https://github.com/apache/cloudstack/pull/11943#discussion_r2477758345
##########
ui/src/views/storage/SnapshotZones.vue:
##########
@@ -137,7 +137,10 @@
</a-select-option>
</a-select>
</a-form-item>
- <a-form-item :label="$t('label.usestoragereplication')"
name="useStorageReplication" ref="useStorageReplication">
+ <a-form-item name="useStorageReplication"
ref="useStorageReplication">
+ <template #label>
+ <tooltip-label :title="$t('label.usestoragereplication')"
:tooltip="apiParams.usestoragereplication.description" />
+ </template>
Review Comment:
The TooltipLabel component is used but not imported in this file. Add
`import TooltipLabel from '@/components/widgets/TooltipLabel'` to the imports
section and include `TooltipLabel` in the components object.
##########
ui/src/views/storage/FormSchedule.vue:
##########
@@ -170,7 +170,10 @@
</a-form-item>
</a-col>
<a-col :md="24" :lg="24" v-if="resourceType === 'Volume'">
- <a-form-item :label="$t('label.usestoragereplication')"
name="useStorageReplication" ref="useStorageReplication">
+ <a-form-item name="useStorageReplication"
ref="useStorageReplication">
+ <template #label>
+ <tooltip-label :title="$t('label.usestoragereplication')"
:tooltip="apiParams.usestoragereplication.description" />
+ </template>
Review Comment:
Inconsistent indentation: the closing template tag has an extra space. The
indentation should match the opening tag at line 174.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]