metis-desk/modules/companies/src/web/assets/detail/ui/asset-operating-systems.tsx

15 lines
468 B
TypeScript
Raw Normal View History

import { CurrentOperatingSystems } from "../../../software-installations/detail/ui/current-operating-systems";
import { useAssetSoftware } from "../../../software-installations/shared/queries/use-asset-software";
export function AssetOperatingSystems({
companyId,
assetId,
}: {
companyId: string;
assetId: string;
}) {
const software = useAssetSoftware(companyId, assetId);
return <CurrentOperatingSystems companyId={companyId} software={software} />;
}