fix(frontend): fix validity check (#5654)

This commit is contained in:
Guilhem
2025-04-23 18:20:46 +01:00
committed by GitHub
parent c3a391abc3
commit f100d2ee2e
@@ -37,7 +37,7 @@
function updateValidity(publication: PublicationData) {
isValid =
!emptyString(postgres_resource_path) &&
(!publication.table_to_track || publication.table_to_track.length === 0)
(!publication.table_to_track || publication.table_to_track.length !== 0)
}
$: updateValidity(publication)