fixed lint issues

This commit is contained in:
Kavin Venkatachalam 2024-05-06 12:53:57 +05:30
parent b476d4e531
commit 7b7c385c64
2 changed files with 1 additions and 12 deletions

View file

@ -473,12 +473,6 @@ class ViewerComponent extends React.Component {
});
this.setStateForApp(data);
this.setStateForContainer(data, versionId);
const preview = !!queryString.parse(this.props?.location?.search)?.version;
fetchAndSetWindowTitle({
page: pageTitles.VIEWER,
appName: data.name,
preview,
});
})
.catch(() => {
this.setState({

View file

@ -1082,12 +1082,7 @@ export function runQuery(
} else if (query.kind === 'runpy') {
queryExecutionPromise = executeRunPycode(_self, query.options.code, query, false, mode, queryState);
} else {
queryExecutionPromise = dataqueryService.run(
queryId,
options,
query?.options,
currentAppEnvironmentId ?? environmentId
);
queryExecutionPromise = dataqueryService.run(queryId, options, query?.options);
}
queryExecutionPromise