Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class ResourceSqlDataSource extends BaseSqlDataSource {
private readonly projectsService: ProjectsService,
state: IResourceSqlDataSourceState,
) {
super();
super('/icons/sql_script_m.svg');
Comment thread
devnaumov marked this conversation as resolved.
this.bindState(state);
this.lastAction = undefined;
this.loaded = false;
Expand Down
6 changes: 3 additions & 3 deletions webapp/packages/plugin-sql-editor/public/icons/sql_script.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions webapp/packages/plugin-sql-editor/public/icons/sql_script_temp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
protected editing: boolean;
protected innerCursorState: ISqlEditorCursor;

constructor(icon = '/icons/sql_script_m.svg') {
constructor(icon = '/icons/sql_script_temp_m.svg') {
this.icon = icon;
this.databaseModels = [];
this.incomingScript = undefined;
Expand Down Expand Up @@ -175,11 +175,11 @@

abstract canRename(name: string | null): boolean;

setName(name: string | null): void {

Check warning on line 178 in webapp/packages/plugin-sql-editor/src/SqlDataSource/BaseSqlDataSource.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'name' is defined but never used
this.onUpdate.execute();
}

setExecutionContext(executionContext?: IConnectionExecutionContextInfo | undefined): void {

Check warning on line 182 in webapp/packages/plugin-sql-editor/src/SqlDataSource/BaseSqlDataSource.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'executionContext' is defined but never used
this.onUpdate.execute();
}

Expand Down Expand Up @@ -258,7 +258,7 @@
this.editing = state;
}

setProject(projectId: string | null): void {

Check warning on line 261 in webapp/packages/plugin-sql-editor/src/SqlDataSource/BaseSqlDataSource.ts

View workflow job for this annotation

GitHub Actions / Frontend / Lint

'projectId' is defined but never used
this.onUpdate.execute();
}

Expand Down
Loading