@bigbinary/neeto-slack-frontend 2.1.0 → 2.1.2
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 +18 -15
package/dist/index.js
CHANGED
|
@@ -3627,7 +3627,7 @@ var slack = {
|
|
|
3627
3627
|
configure: {
|
|
3628
3628
|
title: "You are connecting to <br/><strong>{{teamName}}</strong> workspace <br/>({{slackUrl}}).",
|
|
3629
3629
|
sendTo: "Send to",
|
|
3630
|
-
sendToDescription: "Choose a Slack channel
|
|
3630
|
+
sendToDescription: "Choose a Slack channel that will receive notifications",
|
|
3631
3631
|
refreshSlackChannelList: "Refresh Slack channel list"
|
|
3632
3632
|
},
|
|
3633
3633
|
finish: {
|
|
@@ -3882,6 +3882,8 @@ Settings.EditPane = EditPane;
|
|
|
3882
3882
|
var Configure = function Configure(_ref) {
|
|
3883
3883
|
var children = _ref.children,
|
|
3884
3884
|
teamName = _ref.teamName,
|
|
3885
|
+
_ref$slackUrl = _ref.slackUrl,
|
|
3886
|
+
slackUrl = _ref$slackUrl === void 0 ? "" : _ref$slackUrl,
|
|
3885
3887
|
initialFormValues = _ref.initialFormValues,
|
|
3886
3888
|
handleSubmit = _ref.handleSubmit,
|
|
3887
3889
|
isSubmitting = _ref.isSubmitting,
|
|
@@ -3902,7 +3904,7 @@ var Configure = function Configure(_ref) {
|
|
|
3902
3904
|
i18nKey: "slack.configure.title",
|
|
3903
3905
|
values: {
|
|
3904
3906
|
teamName: teamName,
|
|
3905
|
-
slackUrl: toSlackUrl(teamName)
|
|
3907
|
+
slackUrl: isEmpty(slackUrl) ? toSlackUrl(teamName) : slackUrl
|
|
3906
3908
|
}
|
|
3907
3909
|
}))), /*#__PURE__*/React__default.createElement(Form, {
|
|
3908
3910
|
className: "neeto-ui-w-full",
|