fix toolbar responsiveness and disable side panel

This commit is contained in:
miloschwartz
2026-07-01 15:14:29 -04:00
parent 0871a211ec
commit db0a7cc1ce
9 changed files with 167 additions and 122 deletions
@@ -6,7 +6,7 @@ import { LauncherResourceRow } from "./LauncherResourceRow";
type LauncherResourceListProps = {
resources: LauncherResource[];
showLabels: boolean;
onResourceSelect: (resource: LauncherResource) => void;
onResourceSelect?: (resource: LauncherResource) => void;
};
export function LauncherResourceList({
@@ -23,7 +23,11 @@ export function LauncherResourceList({
resource={resource}
showLabels={showLabels}
isLast={index === resources.length - 1}
onSelect={() => onResourceSelect(resource)}
onSelect={
onResourceSelect
? () => onResourceSelect(resource)
: undefined
}
/>
))}
</div>