Skip to content

Commit

Permalink
fix: services table (#698)
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
  • Loading branch information
axel7083 committed Mar 26, 2024
1 parent 2d13a7d commit 878e944
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ function openDetails() {
}
</script>

<button title="Open service details" class="text-sm text-gray-700" on:click="{() => openDetails()}">
<button
title="Open service details"
class="text-sm text-gray-700 w-full text-ellipsis overflow-hidden"
on:click="{() => openDetails()}">
{object.container.containerId}
</button>
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/InferenceServers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import ServiceAction from '/@/lib/table/service/ServiceAction.svelte';
import ServiceColumnModelName from '/@/lib/table/service/ServiceColumnModelName.svelte';
const columns: Column<InferenceServer>[] = [
new Column<InferenceServer>('Status', { width: '50px', renderer: ServiceStatus, align: 'center' }),
new Column<InferenceServer>('Name', { width: '1fr', renderer: ServiceColumnName, align: 'center' }),
new Column<InferenceServer>('Model', { width: '3fr', renderer: ServiceColumnModelName, align: 'center' }),
new Column<InferenceServer>('Action', { width: '80px', renderer: ServiceAction, align: 'center' }),
new Column<InferenceServer>('Status', { width: '70px', renderer: ServiceStatus, align: 'center' }),
new Column<InferenceServer>('Name', { width: '1fr', renderer: ServiceColumnName, align: 'left' }),
new Column<InferenceServer>('Model', { renderer: ServiceColumnModelName, align: 'left' }),
new Column<InferenceServer>('Action', { width: '80px', renderer: ServiceAction, align: 'right' }),
];
const row = new Row<InferenceServer>({});
Expand Down

0 comments on commit 878e944

Please sign in to comment.