⬆️ Update packages to latest version on n8n-editor-ui

This commit is contained in:
Jan Oberhauser
2019-12-29 15:02:21 -06:00
parent 7f0287ccbf
commit 49e2285573
16 changed files with 61 additions and 63 deletions

View File

@@ -37,8 +37,6 @@
</template>
<script lang="ts">
import Vue from 'vue';
import { restApi } from '@/components/mixins/restApi';
import { ICredentialsResponse } from '@/Interface';
import { nodeHelpers } from '@/components/mixins/nodeHelpers';
@@ -72,7 +70,7 @@ export default mixins(
};
},
watch: {
dialogVisible (newValue, oldValue) {
dialogVisible (newValue) {
if (newValue) {
this.loadCredentials();
this.loadCredentialTypes();
@@ -146,9 +144,8 @@ export default mixins(
return;
}
let result;
try {
result = await this.restApi().deleteCredentials(credential.id!);
await this.restApi().deleteCredentials(credential.id!);
} catch (error) {
this.$showError(error, 'Problem deleting credentials', 'There was a problem deleting the credentials:');
return;