#7317: Deleted warnings #1261

Merged
jon merged 7 commits from 7317-SupplierWarnings into dev 2025-01-27 09:00:15 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 4c1631478c - Show all commits

View File

@ -9,9 +9,9 @@ const $props = defineProps({
type: Boolean,
default: false,
},
hasInfo: {
info: {
Outdated
Review

Si es en pocos sitios le cambiaria el nombre a "info"

Si es en pocos sitios le cambiaria el nombre a "info"
type: String,
default: '',
default: undefined,
Outdated
Review

Si con undefined funciona mejor

Si con undefined funciona mejor
},
modelValue: {
type: [String, Number, Object],
@ -57,9 +57,9 @@ const url = computed(() => {
<template #prepend v-if="$props.hasAvatar">
<VnAvatar :worker-id="value" color="primary" v-bind="$attrs" />
</template>
<template #append v-if="$props.hasInfo">
<template #append v-if="$props.info">
<QIcon name="info" class="cursor-pointer">
<QTooltip>{{ $t($props.hasInfo) }}</QTooltip>
<QTooltip>{{ $t($props.info) }}</QTooltip>
</QIcon>
</template>
<template #option="scope">

View File

@ -36,7 +36,7 @@ const companySizes = [
/>
<VnSelectWorker
v-model="data.workerFk"
has-info="Responsible for approving invoices"
info="Responsible for approving invoices"
:rules="validate('supplier.workerFk')"
/>
<VnSelect