From 2899aa3fa5f10d5e2919857d3e5ab7c19604db0d Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Tue, 6 Feb 2024 19:30:53 +0300 Subject: [PATCH] [ENG-1594] Change online to connected (#2060) : This is a combination of 3 commits. Change online to connected remove offline json --- interface/app/$libraryId/location/$id.tsx | 4 +- .../settings/library/locations/ListItem.tsx | 42 ++++++++++++------- interface/locales/de/common.json | 15 +++---- interface/locales/en/common.json | 4 +- interface/locales/es/common.json | 15 +++---- interface/locales/fr/common.json | 15 +++---- interface/locales/nl/common.json | 3 +- interface/locales/tr/common.json | 15 +++---- interface/locales/zh-CN/common.json | 15 +++---- interface/locales/zh-TW/common.json | 15 +++---- 10 files changed, 81 insertions(+), 62 deletions(-) diff --git a/interface/app/$libraryId/location/$id.tsx b/interface/app/$libraryId/location/$id.tsx index 01cd44388..aa5218976 100644 --- a/interface/app/$libraryId/location/$id.tsx +++ b/interface/app/$libraryId/location/$id.tsx @@ -1,5 +1,5 @@ import { ArrowClockwise, Info } from '@phosphor-icons/react'; -import { memo, useEffect, useMemo } from 'react'; +import { useEffect, useMemo } from 'react'; import { useSearchParams as useRawSearchParams } from 'react-router-dom'; import { stringify } from 'uuid'; import { @@ -143,7 +143,7 @@ const LocationExplorer = ({ location }: { location: Location; path?: string }) = {title} {!locationOnline && ( - + )} diff --git a/interface/app/$libraryId/settings/library/locations/ListItem.tsx b/interface/app/$libraryId/settings/library/locations/ListItem.tsx index b3cb7e3e2..c94e84a4b 100644 --- a/interface/app/$libraryId/settings/library/locations/ListItem.tsx +++ b/interface/app/$libraryId/settings/library/locations/ListItem.tsx @@ -56,23 +56,33 @@ export default ({ location }: Props) => {
{/* This is a fake button, do not add disabled prop pls */} - + +