fix(web): allow history panel without manual refresh key
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user