feat: version 2.16.5 -- Equipos: se quita el boton Informacion del listado
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# Changelog - project.linkedcorp.net
|
# Changelog - project.linkedcorp.net
|
||||||
|
|
||||||
|
## [2.16.5] - 2026-10-20
|
||||||
|
### Changed
|
||||||
|
- Equipos → listado: se quita el botón "Información" del final de cada fila; el detalle del equipo
|
||||||
|
se abre solo con clic en la fila.
|
||||||
|
|
||||||
## [2.16.4] - 2026-10-20
|
## [2.16.4] - 2026-10-20
|
||||||
### Changed
|
### Changed
|
||||||
- Equipos → detalle → General: "Primer reporte" y "Último reporte" pasan a la sección de arriba,
|
- Equipos → detalle → General: "Primer reporte" y "Último reporte" pasan a la sección de arriba,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "project-linkedcorp-backend",
|
"name": "project-linkedcorp-backend",
|
||||||
"version": "2.16.4",
|
"version": "2.16.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/server.js",
|
"main": "src/server.js",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "project-linkedcorp-frontend",
|
"name": "project-linkedcorp-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.16.4",
|
"version": "2.16.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -212,7 +212,6 @@ export const messages = {
|
|||||||
eq_share_remove_msg: 'dejará de ver el menú Equipos.',
|
eq_share_remove_msg: 'dejará de ver el menú Equipos.',
|
||||||
eq_tab_summary: 'Resumen',
|
eq_tab_summary: 'Resumen',
|
||||||
eq_show_components: 'Mostrar actualizaciones, drivers y componentes del sistema',
|
eq_show_components: 'Mostrar actualizaciones, drivers y componentes del sistema',
|
||||||
eq_btn_info: 'Información',
|
|
||||||
eq_tab_devices: 'Equipos',
|
eq_tab_devices: 'Equipos',
|
||||||
eq_tab_software_all: 'Software',
|
eq_tab_software_all: 'Software',
|
||||||
eq_tab_agents: 'Agentes',
|
eq_tab_agents: 'Agentes',
|
||||||
@@ -688,7 +687,6 @@ export const messages = {
|
|||||||
eq_share_remove_msg: 'will no longer see the Devices menu.',
|
eq_share_remove_msg: 'will no longer see the Devices menu.',
|
||||||
eq_tab_summary: 'Summary',
|
eq_tab_summary: 'Summary',
|
||||||
eq_show_components: 'Show updates, drivers and system components',
|
eq_show_components: 'Show updates, drivers and system components',
|
||||||
eq_btn_info: 'Information',
|
|
||||||
eq_tab_devices: 'Devices',
|
eq_tab_devices: 'Devices',
|
||||||
eq_tab_software_all: 'Software',
|
eq_tab_software_all: 'Software',
|
||||||
eq_tab_agents: 'Agents',
|
eq_tab_agents: 'Agents',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Navigate } from 'react-router-dom';
|
import { Navigate } from 'react-router-dom';
|
||||||
import { Pencil, Save, Plus, Trash2, Power, Copy, Info, Download } from 'lucide-react';
|
import { Pencil, Save, Plus, Trash2, Power, Copy, Download } from 'lucide-react';
|
||||||
import { useUi } from '../../context/ui-context.jsx';
|
import { useUi } from '../../context/ui-context.jsx';
|
||||||
import { useAuth } from '../../context/auth-context.jsx';
|
import { useAuth } from '../../context/auth-context.jsx';
|
||||||
import { useAsync, useAction } from '../../hooks/useAsync.js';
|
import { useAsync, useAction } from '../../hooks/useAsync.js';
|
||||||
@@ -304,14 +304,6 @@ function DevicesTab({ canEdit }) {
|
|||||||
{ key: 'model', label: t('eq_manufacturer_model'), sortValue: (r) => r.model || '', render: (r) => dash([r.manufacturer, r.model].filter(Boolean).join(' ')) },
|
{ key: 'model', label: t('eq_manufacturer_model'), sortValue: (r) => r.model || '', render: (r) => dash([r.manufacturer, r.model].filter(Boolean).join(' ')) },
|
||||||
{ key: 'os_name', label: t('eq_os'), render: (r) => dash(r.os_name) },
|
{ key: 'os_name', label: t('eq_os'), render: (r) => dash(r.os_name) },
|
||||||
{ key: 'ip_main', label: t('eq_ip'), render: (r) => dash(r.ip_main) },
|
{ key: 'ip_main', label: t('eq_ip'), render: (r) => dash(r.ip_main) },
|
||||||
{
|
|
||||||
key: 'actions', label: '', sortable: false,
|
|
||||||
render: (r) => (
|
|
||||||
<span style={{ display: 'flex', gap: 6 }} onClick={(e) => e.stopPropagation()}>
|
|
||||||
<Button size="sm" variant="standard" icon={Info} onClick={() => setSelected({ id: r.id, view: 'info' })}>{t('eq_btn_info')}</Button>
|
|
||||||
</span>
|
|
||||||
),
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!devices) return <div className="text-muted">{t('common_loading')}</div>;
|
if (!devices) return <div className="text-muted">{t('common_loading')}</div>;
|
||||||
|
|||||||
Reference in New Issue
Block a user