fix(web): allow history panel without manual refresh key

This commit is contained in:
2026-09-11 10:04:06 -03:00
parent 71dda05c20
commit 082354320b
@@ -34,10 +34,10 @@ function supportsFunctionChange(code: string, name: string): boolean {
export function AssetHistoryPanel({
assetId,
refreshKey,
refreshKey = 0,
}: {
assetId: string;
refreshKey: number;
refreshKey?: number;
}) {
const [versions, setVersions] = useState<AssetVersionSummary[]>([]);
const [total, setTotal] = useState(0);