Skip to content

Commit

Permalink
v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kholid060 committed Apr 12, 2022
1 parent 28d7a0b commit 110326b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "automa",
"version": "1.6.7",
"version": "1.7.0",
"description": "An extension for automating your browser by connecting blocks",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/newtab/workflow/WorkflowDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const props = defineProps({
default: () => ({}),
},
});
const emit = defineEmits(['update', 'close']);
const emit = defineEmits(['update', 'close', 'change']);
const { t } = useI18n();
Expand Down Expand Up @@ -123,7 +123,7 @@ onMounted(() => {
}
return column;
}) || props.workflow.table;
}) || [];
if (isChanged) {
const data = { table: state.columns };
Expand Down
4 changes: 2 additions & 2 deletions src/components/newtab/workflow/edit/EditGoogleSheets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ async function previewData() {
range: props.data.range,
});
if (response.status !== 200) {
if (!response.ok) {
const error = await response.json();
throw new Error(response.statusText || error.statusMessage);
throw new Error(error.statusMessage || response.statusText);
}
const { values } = await response.json();
Expand Down

0 comments on commit 110326b

Please sign in to comment.