refactor(components): change common ip section in profile admin panel
remove v-if null-check
This commit is contained in:
parent
cb2f171d86
commit
6faa88d83f
@ -46,7 +46,7 @@
|
|||||||
<template #renderItem="{ item }">
|
<template #renderItem="{ item }">
|
||||||
{{ item.ip }}<br />
|
{{ item.ip }}<br />
|
||||||
<a-typography-title :level="5">Other users with this IP:</a-typography-title>
|
<a-typography-title :level="5">Other users with this IP:</a-typography-title>
|
||||||
<div v-if="commonIps != null">
|
<div>
|
||||||
<i v-if="!commonIps[item.ip]?.length"> No other users share this IP. </i>
|
<i v-if="!commonIps[item.ip]?.length"> No other users share this IP. </i>
|
||||||
<a-list v-else :data-source="!!commonIps ? commonIps[item.ip] : []">
|
<a-list v-else :data-source="!!commonIps ? commonIps[item.ip] : []">
|
||||||
<template #renderItem="{ item: otherItem }">
|
<template #renderItem="{ item: otherItem }">
|
||||||
|
Loading…
Reference in New Issue
Block a user