Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronPlave committed Oct 22, 2024
1 parent 0c99b8b commit 19f905d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/utilities/effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4687,8 +4687,8 @@ const effects = {

// If migration failed catch the error and return default view
if (!migratedView) {
catchError('Unable to migrate view', error as Error);
showFailureToast(`Unable to migrate view: ${view.name}`);
catchError('Unable to automatically migrate view', error as Error);
showFailureToast(`Unable to automatically migrate view: ${view.name}`);
} else {
return migratedView;
}
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export function createRowSizes({ row1 = '1fr', row2 = '1fr' }: ViewGridRows, col
return '1fr';
}

export async function validateViewJSONAgainstSchema(json: any) {
export function validateViewJSONAgainstSchema(json: any) {
try {
const ajv = new Ajv();
// Ensure json schema is found for the current version
Expand Down

0 comments on commit 19f905d

Please sign in to comment.