Skip to content

Commit

Permalink
fix(inserimento-massivo): controllo stringente formato durata servizi…
Browse files Browse the repository at this point in the history
…o 20241114
sgravinadxc committed Nov 14, 2024
1 parent 8767a66 commit 11abc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fe-piattaforma/src/utils/csvUtils.ts
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ export const validateFields = (
}

if (record.SE2) {
if (record.SE2.length = 5) {
if (record.SE2.length == 5) {
const valoreDurataServizio = record.SE2.trim().substring(0, 5);
if (
!containsOnlyNumber(valoreDurataServizio.substring(0, 1)) ||

0 comments on commit 11abc84

Please sign in to comment.