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:
Milton Gonzalez
2026-10-20 11:36:51 -05:00
parent eb7cdcbc43
commit f51b3bcd89
6 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "project-linkedcorp-frontend",
"private": true,
"version": "2.16.4",
"version": "2.16.5",
"type": "module",
"scripts": {
"dev": "vite",
-2
View File
@@ -212,7 +212,6 @@ export const messages = {
eq_share_remove_msg: 'dejará de ver el menú Equipos.',
eq_tab_summary: 'Resumen',
eq_show_components: 'Mostrar actualizaciones, drivers y componentes del sistema',
eq_btn_info: 'Información',
eq_tab_devices: 'Equipos',
eq_tab_software_all: 'Software',
eq_tab_agents: 'Agentes',
@@ -688,7 +687,6 @@ export const messages = {
eq_share_remove_msg: 'will no longer see the Devices menu.',
eq_tab_summary: 'Summary',
eq_show_components: 'Show updates, drivers and system components',
eq_btn_info: 'Information',
eq_tab_devices: 'Devices',
eq_tab_software_all: 'Software',
eq_tab_agents: 'Agents',
+1 -9
View File
@@ -1,6 +1,6 @@
import { useState } from 'react';
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 { useAuth } from '../../context/auth-context.jsx';
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: '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: '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>;