mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
fixed lint issues
This commit is contained in:
parent
b476d4e531
commit
7b7c385c64
2 changed files with 1 additions and 12 deletions
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue