@bigbinary/neeto-slack-frontend 2.1.0 → 2.1.1
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/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -3655,7 +3655,7 @@ var slack = {
|
|
|
3655
3655
|
configure: {
|
|
3656
3656
|
title: "You are connecting to <br/><strong>{{teamName}}</strong> workspace <br/>({{slackUrl}}).",
|
|
3657
3657
|
sendTo: "Send to",
|
|
3658
|
-
sendToDescription: "Choose a Slack channel
|
|
3658
|
+
sendToDescription: "Choose a Slack channel that will receive notifications",
|
|
3659
3659
|
refreshSlackChannelList: "Refresh Slack channel list"
|
|
3660
3660
|
},
|
|
3661
3661
|
finish: {
|
|
@@ -3910,6 +3910,8 @@ Settings.EditPane = EditPane;
|
|
|
3910
3910
|
var Configure = function Configure(_ref) {
|
|
3911
3911
|
var children = _ref.children,
|
|
3912
3912
|
teamName = _ref.teamName,
|
|
3913
|
+
_ref$slackUrl = _ref.slackUrl,
|
|
3914
|
+
slackUrl = _ref$slackUrl === void 0 ? "" : _ref$slackUrl,
|
|
3913
3915
|
initialFormValues = _ref.initialFormValues,
|
|
3914
3916
|
handleSubmit = _ref.handleSubmit,
|
|
3915
3917
|
isSubmitting = _ref.isSubmitting,
|
|
@@ -3930,7 +3932,7 @@ var Configure = function Configure(_ref) {
|
|
|
3930
3932
|
i18nKey: "slack.configure.title",
|
|
3931
3933
|
values: {
|
|
3932
3934
|
teamName: teamName,
|
|
3933
|
-
slackUrl: toSlackUrl(teamName)
|
|
3935
|
+
slackUrl: ramda.isEmpty(slackUrl) ? toSlackUrl(teamName) : slackUrl
|
|
3934
3936
|
}
|
|
3935
3937
|
}))), /*#__PURE__*/React__default["default"].createElement(formik.Form, {
|
|
3936
3938
|
className: "neeto-ui-w-full",
|