@bigbinary/neeto-integrations-frontend 2.10.3 → 2.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/javascript/src/translations/en.json +3 -1
- package/dist/Daily.cjs.js +13 -12
- package/dist/Daily.cjs.js.map +1 -1
- package/dist/Daily.js +13 -12
- package/dist/Daily.js.map +1 -1
- package/dist/GoogleCalender.cjs.js +13 -12
- package/dist/GoogleCalender.cjs.js.map +1 -1
- package/dist/GoogleCalender.js +13 -12
- package/dist/GoogleCalender.js.map +1 -1
- package/dist/Zoom.cjs.js +13 -12
- package/dist/Zoom.cjs.js.map +1 -1
- package/dist/Zoom.js +13 -12
- package/dist/Zoom.js.map +1 -1
- package/dist/index.cjs.js +13 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +13 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var Manage$1 = withT(function (_ref) {
|
|
|
37
37
|
_ref$isDisconnecting = _ref.isDisconnecting,
|
|
38
38
|
isDisconnecting = _ref$isDisconnecting === void 0 ? false : _ref$isDisconnecting,
|
|
39
39
|
_ref$onDisconnect = _ref.onDisconnect,
|
|
40
|
-
onDisconnect = _ref$onDisconnect === void 0 ?
|
|
40
|
+
onDisconnect = _ref$onDisconnect === void 0 ? undefined : _ref$onDisconnect,
|
|
41
41
|
_ref$onClose = _ref.onClose,
|
|
42
42
|
onClose = _ref$onClose === void 0 ? noop : _ref$onClose,
|
|
43
43
|
_ref$Icon = _ref.Icon,
|
|
@@ -88,27 +88,28 @@ var Manage$1 = withT(function (_ref) {
|
|
|
88
88
|
style: "body2",
|
|
89
89
|
weight: "normal"
|
|
90
90
|
}, /*#__PURE__*/React__default.createElement(Trans, {
|
|
91
|
-
i18nKey: "
|
|
91
|
+
i18nKey: "neetoIntegrations.common.helpDocUrl",
|
|
92
92
|
components: {
|
|
93
93
|
helpLink: /*#__PURE__*/React__default.createElement(Button, {
|
|
94
94
|
href: helpDocUrl,
|
|
95
|
-
style: "link"
|
|
95
|
+
style: "link",
|
|
96
|
+
target: "_blank"
|
|
96
97
|
})
|
|
97
98
|
},
|
|
98
99
|
values: {
|
|
99
|
-
integration: integrationName
|
|
100
|
+
integration: integrationName || humanize(integration)
|
|
100
101
|
}
|
|
101
102
|
}))), isConnected ? /*#__PURE__*/React__default.createElement("div", {
|
|
102
103
|
className: "space-x-2"
|
|
103
104
|
}, managePath && /*#__PURE__*/React__default.createElement(Button, {
|
|
104
105
|
to: managePath,
|
|
105
|
-
label: t("
|
|
106
|
-
integration: integrationName
|
|
106
|
+
label: t("neetoIntegrations.common.manageIntegration", {
|
|
107
|
+
integration: integrationName || humanize(integration)
|
|
107
108
|
})
|
|
108
109
|
}), onDisconnect && /*#__PURE__*/React__default.createElement(Button, {
|
|
109
|
-
style: "
|
|
110
|
-
label: t("
|
|
111
|
-
integration: integrationName
|
|
110
|
+
style: "secondary",
|
|
111
|
+
label: t("neetoIntegrations.common.disconnectIntegration", {
|
|
112
|
+
integration: integrationName || humanize(integration)
|
|
112
113
|
}),
|
|
113
114
|
onClick: function onClick() {
|
|
114
115
|
return setIsDisconnectAlertOpen(true);
|
|
@@ -118,8 +119,8 @@ var Manage$1 = withT(function (_ref) {
|
|
|
118
119
|
href: connectUrl,
|
|
119
120
|
to: connectPath,
|
|
120
121
|
tooltipProps: connectTooltipProps,
|
|
121
|
-
label: t("
|
|
122
|
-
integration: integrationName
|
|
122
|
+
label: t("neetoIntegrations.common.connectIntegration", {
|
|
123
|
+
integration: integrationName || humanize(integration)
|
|
123
124
|
})
|
|
124
125
|
}))), /*#__PURE__*/React__default.createElement(DisconnectAlert, {
|
|
125
126
|
isDisconnecting: isDisconnecting,
|
|
@@ -127,7 +128,7 @@ var Manage$1 = withT(function (_ref) {
|
|
|
127
128
|
onDisconnect: onDisconnect,
|
|
128
129
|
isOpen: isDisconnectAlertOpen,
|
|
129
130
|
title: t("settings.integrations.".concat(integration, ".disconnect.title")),
|
|
130
|
-
message: disconnectMessage
|
|
131
|
+
message: disconnectMessage || t("settings.integrations.".concat(integration, ".disconnect.message"))
|
|
131
132
|
}));
|
|
132
133
|
});
|
|
133
134
|
|