remove workaround

This commit is contained in:
Sebastian 2023-03-13 11:50:52 -03:00
parent 96d110379e
commit 64c3cbc1db
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -245,9 +245,7 @@ export function useTemplateDetails(
if (isValidating) return { loading: true, data: data?.data };
if (data) {
const d = structuredClone(data);
d.data.pos_algorithm = 1;
return d;
return data;
}
if (error) return error.info;
return { loading: true };