Skip to content

Commit 7994c74

Browse files
committed
fix if no printersinfo
1 parent b5b8579 commit 7994c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/app/components/PrintClientInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export function PrintClientInfo({ clients, refresh }) {
133133
<>
134134
<Text>IP: {item.ip}</Text>
135135
<Text>Updated At: {new Date(item.updateAt).toLocaleString()}</Text>
136-
<PrintersInfo client={item} refresh={refresh} />
136+
{ item.printersInfo && <PrintersInfo client={item} refresh={refresh} /> }
137137
</>
138138
)}
139139
</Accordion.Panel>

0 commit comments

Comments
 (0)