mirror of
				https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
				synced 2025-10-31 10:17:45 +00:00 
			
		
		
		
	Merge pull request #196 from stephb9959/main
[WIFI-13005] Firmware modal copy button fix
This commit is contained in:
		
							
								
								
									
										10
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,12 +1,12 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "2.11.0(11)", |   "version": "2.11.0(12)", | ||||||
|   "lockfileVersion": 3, |   "lockfileVersion": 3, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "": { |     "": { | ||||||
|       "name": "ucentral-client", |       "name": "ucentral-client", | ||||||
|       "version": "2.11.0(11)", |       "version": "2.11.0(12)", | ||||||
|       "license": "ISC", |       "license": "ISC", | ||||||
|       "dependencies": { |       "dependencies": { | ||||||
|         "@chakra-ui/anatomy": "^2.1.1", |         "@chakra-ui/anatomy": "^2.1.1", | ||||||
| @@ -8438,9 +8438,9 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/postcss": { |     "node_modules/postcss": { | ||||||
|       "version": "8.4.28", |       "version": "8.4.31", | ||||||
|       "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz", |       "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", | ||||||
|       "integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==", |       "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", | ||||||
|       "funding": [ |       "funding": [ | ||||||
|         { |         { | ||||||
|           "type": "opencollective", |           "type": "opencollective", | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ucentral-client", |   "name": "ucentral-client", | ||||||
|   "version": "2.11.0(11)", |   "version": "2.11.0(12)", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "private": true, |   "private": true, | ||||||
|   "main": "index.tsx", |   "main": "index.tsx", | ||||||
|   | |||||||
| @@ -694,7 +694,7 @@ const DeviceListCard = () => { | |||||||
|       <DataGrid<DeviceWithStatus> |       <DataGrid<DeviceWithStatus> | ||||||
|         controller={tableController} |         controller={tableController} | ||||||
|         header={{ |         header={{ | ||||||
|           title: `${getCount.data?.count} ${t('devices.title')}`, |           title: `${getCount.data?.count ?? 0} ${t('devices.title')}`, | ||||||
|           objectListed: t('devices.title'), |           objectListed: t('devices.title'), | ||||||
|           leftContent: <GlobalSearchBar />, |           leftContent: <GlobalSearchBar />, | ||||||
|           otherButtons: ( |           otherButtons: ( | ||||||
|   | |||||||
| @@ -138,6 +138,7 @@ const FirmwareDetailsModal = ({ modalProps, firmware }: Props) => { | |||||||
|  |  | ||||||
|   React.useEffect(() => { |   React.useEffect(() => { | ||||||
|     if (firmware) { |     if (firmware) { | ||||||
|  |       copy.setValue(firmware?.uri ?? ''); | ||||||
|       setNewDescription(firmware?.description); |       setNewDescription(firmware?.description); | ||||||
|     } |     } | ||||||
|   }, [firmware]); |   }, [firmware]); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Charles Bourque
					Charles Bourque