Skip to content

Commit

Permalink
export id for queries
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 22, 2024
1 parent ca75060 commit f300705
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/query/query.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as alasql from 'alasql';
import * as _ from 'lodash';
import { LocalStorageService } from 'ngx-webstorage';

import { id } from '../helpers';
import { QueryService } from '../services/query.service';

@Component({
Expand Down Expand Up @@ -49,6 +50,7 @@ export class QueryComponent {

constructor() {
(window as any)._ = _;
(window as any).id = id;

const lastQueryTab =
(this.localStorage.retrieve('lastquerytab') as number) ?? 0;
Expand Down

0 comments on commit f300705

Please sign in to comment.