@topconsultnpm/sdkui-react-beta 6.14.92 → 6.14.93
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.
|
@@ -137,8 +137,6 @@ const TMBlogs = (props) => {
|
|
|
137
137
|
const workingGroupEngine = new WorkingGroupEngine(SDK_Globals.tmSession);
|
|
138
138
|
await workingGroupEngine.BlogPostDeleteOrUndeleteAsync(context.object.id, focusedBlog.id, del)
|
|
139
139
|
.then(() => {
|
|
140
|
-
result.push({ rowIndex: 1, id1: context.object?.id, id2: 0, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS });
|
|
141
|
-
TMResultManager.show(result, del ? SDKUI_Localizator.Delete : SDKUI_Localizator.Restore, "ID", undefined);
|
|
142
140
|
handleFocusedBlog(undefined);
|
|
143
141
|
refresh();
|
|
144
142
|
})
|
|
@@ -150,8 +148,6 @@ const TMBlogs = (props) => {
|
|
|
150
148
|
const searchEngine = SDK_Globals.tmSession?.NewSearchEngine();
|
|
151
149
|
await searchEngine.BlogPostDeleteOrUndeleteAsync(context.object.tid, context.object.did, focusedBlog.id, del)
|
|
152
150
|
.then(() => {
|
|
153
|
-
result.push({ rowIndex: 1, id1: context.object?.tid, id2: context.object?.did, description: SDKUI_Localizator.UpdateCompletedSuccessfully, resultType: ResultTypes.SUCCESS });
|
|
154
|
-
TMResultManager.show(result, del ? SDKUI_Localizator.Delete : SDKUI_Localizator.Restore, "ID", undefined);
|
|
155
151
|
handleFocusedBlog(undefined);
|
|
156
152
|
refresh();
|
|
157
153
|
})
|