@topconsultnpm/sdkui-react-beta 6.14.86 → 6.14.88

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.
@@ -12,7 +12,6 @@ import TMTooltip from '../../base/TMTooltip';
12
12
  import TMUserAvatar from '../../base/TMUserAvatar';
13
13
  import TMHtmlEditor from '../../editors/TMHtmlEditor';
14
14
  import TMChooserForm from '../../forms/TMChooserForm';
15
- import { TMResultManager } from '../../forms/TMResultDialog';
16
15
  import TMSaveForm from '../../forms/TMSaveForm';
17
16
  const getNonDirectoryFiles = (items, exclude) => {
18
17
  const excludeIds = new Set(exclude.map(item => item.id));
@@ -138,9 +137,9 @@ const TMBlogCommentForm = (props) => {
138
137
  await workingGroupEngine.BlogPostAddAsync(context.object.id, blogPost)
139
138
  .then(() => {
140
139
  // On success, push a success result to the result array
141
- result.push({ rowIndex: 1, id1: context.object?.id, id2: 0, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS });
140
+ // result.push({ rowIndex: 1, id1: context.object?.id, id2: 0, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS })
142
141
  // Show the result to the user
143
- TMResultManager.show(result, SDKUI_Localizator.Comment, "ID", undefined);
142
+ // TMResultManager.show(result, SDKUI_Localizator.Comment, "ID", undefined);
144
143
  refreshCallback();
145
144
  })
146
145
  .catch((e) => {
@@ -159,9 +158,9 @@ const TMBlogCommentForm = (props) => {
159
158
  await searchEngine.BlogPostAddAsync(context.object.tid, context.object.did, cleanComment)
160
159
  .then(() => {
161
160
  // On success, push a success result to the result array
162
- result.push({ rowIndex: 1, id1: context.object?.tid, id2: context.object?.did, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS });
161
+ // result.push({ rowIndex: 1, id1: context.object?.tid, id2: context.object?.did, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS })
163
162
  // Show the result to the user
164
- TMResultManager.show(result, SDKUI_Localizator.Comment, "ID", undefined);
163
+ // TMResultManager.show(result, SDKUI_Localizator.Comment, "ID", undefined);
165
164
  refreshCallback();
166
165
  })
167
166
  .catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.14.86",
3
+ "version": "6.14.88",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",