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