From 871a4c085223e760cc33a6a712ca18007bf55b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6tzsch?= Date: Mon, 14 Mar 2022 16:27:14 +0100 Subject: [PATCH] frontend hotfix: prevent jumping of table --- frontend/search/components/ngo/HostOfferLookupWrapper.tsx | 4 ++-- frontend/search/pages/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/search/components/ngo/HostOfferLookupWrapper.tsx b/frontend/search/components/ngo/HostOfferLookupWrapper.tsx index 3772026..4b06b33 100644 --- a/frontend/search/components/ngo/HostOfferLookupWrapper.tsx +++ b/frontend/search/components/ngo/HostOfferLookupWrapper.tsx @@ -22,13 +22,13 @@ const HostOfferLookupWrapper = (props: HostOfferLookupWrapperProps) => { alignItems: 'stretch', flexDirection: 'column', height: '100%'}}> -
+
{ (queryResult_ro.isFetching || queryResult_rw.isFetching) && t('loading…') } { (queryResult_ro.error || queryResult_rw.error) && t('An error occurred while trying to get data from the backend.') } { (queryResult_ro.data && !queryResult_ro.data.get_offers || queryResult_rw.data && !queryResult_rw.data.get_rw) && t('Seems like you have no permissions. Please try to login again.') } +
- {queryResult_ro.data &&
{
- +