Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
feat: LEAP-58: Proxy URL for Taxonomy if possible
Browse files Browse the repository at this point in the history
onProxyUrl should be provided to LSF from LS.
TODO: can be not the correct way to call it, check how events invoke.
  • Loading branch information
hlomzik committed Oct 17, 2023
1 parent 657e611 commit 9b8355a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tags/control/Taxonomy/Taxonomy.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ const Model = types
if (!self.isLoadedByApi) return Super.updateValue?.(store);

self._api = parseValue(self.apiurl, store.task.dataObj);
self._api = store.onProxyUrl?.(self._api) ?? self._api;

yield self.loadItems();
}),
Expand Down

0 comments on commit 9b8355a

Please sign in to comment.