diff --git a/api/schemas/query/channels/channels.ts b/api/schemas/query/channels/channels.ts index ceff51a1..c1029683 100644 --- a/api/schemas/query/channels/channels.ts +++ b/api/schemas/query/channels/channels.ts @@ -70,6 +70,8 @@ export const getChannels = { return { ...channel, + time_offline: channel.time_offline / 1000, + time_online: channel.time_online / 1000, partner_node_info: { ...nodeInfo, }, diff --git a/src/views/channels/channels/Channels.tsx b/src/views/channels/channels/Channels.tsx index 99026a15..02097af3 100644 --- a/src/views/channels/channels/Channels.tsx +++ b/src/views/channels/channels/Channels.tsx @@ -15,6 +15,7 @@ export const Channels = () => { const { loading, data } = useGetChannelsQuery({ skip: !auth, variables: { auth }, + errorPolicy: 'all', onError: error => toast.error(getErrorContent(error)), });