feat(ipv4-range-expander): only show n-alert if both ipv4 addresses are valid

This commit is contained in:
Carsten Götzinger 2023-04-19 20:25:09 +02:00
parent 0e9c916259
commit e9f5bc3422

View File

@ -29,7 +29,11 @@
/> />
</tbody> </tbody>
</n-table> </n-table>
<n-alert v-else title="Invalid combination of start and end IPv4 address" type="error"> <n-alert
v-else-if="startIpValidation.isValid && endIpValidation.isValid"
title="Invalid combination of start and end IPv4 address"
type="error"
>
<n-space vertical> <n-space vertical>
<n-text depth="3"> <n-text depth="3">
The end IPv4 address is lower than the start IPv4 address. This is not valid and no result could be The end IPv4 address is lower than the start IPv4 address. This is not valid and no result could be