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

(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:23 +08:00 committed by GitHub
parent ae2a2f6d28
commit d11a045aed
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';
}