@skbkontur/markdown 2.6.0 → 2.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skbkontur/markdown",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -97,6 +97,7 @@ export var AIActionsDropdown = function (_a) {
97
97
  return [4 /*yield*/, onSendMessage(value, method)];
98
98
  case 2:
99
99
  response = _b.sent();
100
+ /* Игнорируем ответ, если это не последний запрос Например, закрыли тултип и отправили новый запрос */
100
101
  if (response && taskId === taskIdRef.current.generated) {
101
102
  setRequestStatus(RequestStatus.isLoaded);
102
103
  setProcessedText(value.trim() === response ? ERRORS_NOT_FOUND_TEXT : response);