@adminforth/bulk-ai-flow 1.21.1 → 1.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.log +2 -2
- package/custom/VisionAction.vue +7 -2
- package/dist/custom/VisionAction.vue +7 -2
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -13,5 +13,5 @@ custom/package-lock.json
|
|
|
13
13
|
custom/package.json
|
|
14
14
|
custom/tsconfig.json
|
|
15
15
|
|
|
16
|
-
sent 96,
|
|
17
|
-
total size is
|
|
16
|
+
sent 96,721 bytes received 172 bytes 193,786.00 bytes/sec
|
|
17
|
+
total size is 96,085 speedup is 0.99
|
package/custom/VisionAction.vue
CHANGED
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<IconExclamationTriangle class="w-6 h-6 me-2"/>
|
|
157
157
|
<p class="sm:text-base text-sm">{{ t('Warning: Existing values will be overwritten.') }}</p>
|
|
158
158
|
</div>
|
|
159
|
-
<p class="w-fit flex justify-start text-lightPrimary dark:text-
|
|
159
|
+
<p class="w-fit flex justify-start text-lightPrimary dark:text-white hover:underline cursor-pointer" @click="clickSettingsButton()">{{ t('Configure prompts') }}</p>
|
|
160
160
|
</div>
|
|
161
161
|
</div>
|
|
162
162
|
</Dialog>
|
|
@@ -548,7 +548,12 @@ async function saveData() {
|
|
|
548
548
|
}
|
|
549
549
|
if (!overwriteExistingValues.value) {
|
|
550
550
|
const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
|
|
551
|
-
|
|
551
|
+
let originalImageUrl = ''
|
|
552
|
+
try {
|
|
553
|
+
originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
|
|
554
|
+
} catch (error) {
|
|
555
|
+
originalImageUrl = '';
|
|
556
|
+
}
|
|
552
557
|
if (originalImageUrl === imageURL) {
|
|
553
558
|
reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
|
|
554
559
|
continue;
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<IconExclamationTriangle class="w-6 h-6 me-2"/>
|
|
157
157
|
<p class="sm:text-base text-sm">{{ t('Warning: Existing values will be overwritten.') }}</p>
|
|
158
158
|
</div>
|
|
159
|
-
<p class="w-fit flex justify-start text-lightPrimary dark:text-
|
|
159
|
+
<p class="w-fit flex justify-start text-lightPrimary dark:text-white hover:underline cursor-pointer" @click="clickSettingsButton()">{{ t('Configure prompts') }}</p>
|
|
160
160
|
</div>
|
|
161
161
|
</div>
|
|
162
162
|
</Dialog>
|
|
@@ -548,7 +548,12 @@ async function saveData() {
|
|
|
548
548
|
}
|
|
549
549
|
if (!overwriteExistingValues.value) {
|
|
550
550
|
const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
|
|
551
|
-
|
|
551
|
+
let originalImageUrl = ''
|
|
552
|
+
try {
|
|
553
|
+
originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
|
|
554
|
+
} catch (error) {
|
|
555
|
+
originalImageUrl = '';
|
|
556
|
+
}
|
|
552
557
|
if (originalImageUrl === imageURL) {
|
|
553
558
|
reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
|
|
554
559
|
continue;
|