diff options
author | 2023-04-19 20:30:45 +0200 | |
---|---|---|
committer | 2023-04-19 20:30:45 +0200 | |
commit | df989e24b3937876f094301e33762677d604888a (patch) | |
tree | 672ea49abff8e3b1a33fcb41bdfbeade0227ee0f /src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue | |
parent | 6d2202597c269925422af02a862c64d1b0548093 (diff) | |
download | it-tools-df989e24b3937876f094301e33762677d604888a.tar.gz it-tools-df989e24b3937876f094301e33762677d604888a.tar.zst it-tools-df989e24b3937876f094301e33762677d604888a.zip |
feat(ipv4-range-expander): expands a given IPv4 start and end address to a valid IPv4 subnet (#366)
* feat(ipv4-range-expander): expands a given IPv4 start and end address to a valid IPv4 subnet
* feat(ipv4-range-expander): remove old component copyable-ip-like.vue
* feat(ipv4-range-expander): fix sonar findings
* feat(ipv4-range-expander): changes due to review
* feat(ipv4-range-expander): only show n-alert if both ipv4 addresses are valid
Diffstat (limited to 'src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')
-rw-r--r-- | src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue b/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue index 7b488c9..48b96fa 100644 --- a/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue +++ b/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue @@ -12,7 +12,7 @@ <n-text strong>{{ label }}</n-text> </td> <td> - <copyable-ip-like v-if="getValue(networkInfo)" :ip="getValue(networkInfo)"></copyable-ip-like> + <span-copyable v-if="getValue(networkInfo)" :value="getValue(networkInfo)"></span-copyable> <n-text v-else depth="3">{{ undefinedFallback }}</n-text> </td> </tr> @@ -41,8 +41,8 @@ import { useValidation } from '@/composable/validation'; import { isNotThrowing } from '@/utils/boolean'; import { useStorage } from '@vueuse/core'; import { ArrowLeft, ArrowRight } from '@vicons/tabler'; +import SpanCopyable from '@/components/SpanCopyable.vue'; import { getIPClass } from './ipv4-subnet-calculator.models'; -import CopyableIpLike from './copyable-ip-like.vue'; const ip = useStorage('ipv4-subnet-calculator:ip', '192.168.0.1/24'); |