Skip to content

Commit

Permalink
chore: lintig
Browse files Browse the repository at this point in the history
  • Loading branch information
psamusev committed Dec 23, 2024
1 parent eece9ce commit 5ac56b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dataSource/useDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const useDataSource = (isDocumentLoaded: boolean) => {
if (currentRow) {
try {
await window.StudioUISDK.dataSource.setDataRow(currentRow);
await window.StudioUISDK.undoManager.addCustomData(SELECTED_ROW_INDEX_KEY, currentRowIndex + '');
await window.StudioUISDK.undoManager.addCustomData(SELECTED_ROW_INDEX_KEY, `${currentRowIndex}`);
} catch (error) {
// "setDataRow" throws an error if there is not all variables available for setting the data source row
// We can use it later to show some warning popup with missed variables list
Expand Down

0 comments on commit 5ac56b3

Please sign in to comment.