fix: range condition (#299) (#300)

(cherry picked from commit cbfcf4dbae6f8c326d893ce9e6808386f4f60228)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
Co-authored-by: Yiya Chen <yiya.chen@suse.com>
This commit is contained in:
mergify[bot] 2025-05-15 16:26:48 +08:00 committed by GitHub
parent 78482285b3
commit b98f878c5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ export default {
const rows = (this.value || []).map((row) => {
let type = 'cidr';
if (row.rangeStart && row.rangeEnd) {
if (row.rangeStart || row.rangeEnd) {
type = 'range';
}