mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45:35 +08:00
fix: process not shown
This commit is contained in:
parent
45da766ed0
commit
f5d65eb018
@ -101,9 +101,7 @@ export default (props: {
|
||||
</DragOverlay>
|
||||
</DragDropProvider>
|
||||
</div>
|
||||
<label class="modal-backdrop" htmlFor="connection-modal">
|
||||
Close
|
||||
</label>
|
||||
<label class="modal-backdrop" for="connection-modal" />
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
|
@ -140,7 +140,10 @@ export default () => {
|
||||
},
|
||||
{
|
||||
accessorKey: AccessorKey.Process,
|
||||
accessorFn: (row) => row.metadata.process || '-',
|
||||
accessorFn: (row) =>
|
||||
row.metadata.process ||
|
||||
row.metadata.processPath.replace(/^.*[/\\](.*)$/, '$1') ||
|
||||
'-',
|
||||
},
|
||||
{
|
||||
accessorKey: AccessorKey.Host,
|
||||
@ -237,7 +240,7 @@ export default () => {
|
||||
placeholder="Search"
|
||||
onInput={(e) => setSearch(e.target.value)}
|
||||
/>
|
||||
<label htmlFor="connection-modal" class="btn btn-circle">
|
||||
<label for="connection-modal" class="btn btn-circle">
|
||||
<IconSettings />
|
||||
</label>
|
||||
<ConnectionsModal
|
||||
|
1
src/types.d.ts
vendored
1
src/types.d.ts
vendored
@ -2,6 +2,7 @@ declare module 'solid-js' {
|
||||
namespace JSX {
|
||||
interface Directives {
|
||||
form: {}
|
||||
sortable: {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user