fix: rabbitmq getData

This commit is contained in:
Gabriel Pastori 2023-11-05 01:26:13 -03:00
parent b1dd5b65c9
commit 07c1f7255a
2 changed files with 6 additions and 4 deletions

View File

@ -199,8 +199,8 @@ export default {
this.instance.instance.instanceName this.instance.instance.instanceName
); );
this.chatwootData = Object.assign({}, chatwootData); this.chatwootData = Object.assign({}, chatwootData || {});
this.defaultChatwootData = Object.assign({}, chatwootData); this.defaultChatwootData = Object.assign({}, chatwootData || {});
} catch (e) { } catch (e) {
this.error = e.message?.message || e.message || e; this.error = e.message?.message || e.message || e;
} finally { } finally {

View File

@ -145,8 +145,10 @@ export default {
}, },
}, },
mounted() { watch: {
this.loadRabbitmq(); expanded(val) {
if (val) this.loadRabbitmq();
},
}, },
}; };
</script> </script>