mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 04:41:50 +08:00

* Variables: Fixes savequery for Constant and TextBox variables * Refactor: reverts textbox changes * Refactor: Fixes dashboard export and tests * Refactor: hides or migrates Constant variables * Tests: fixes snapshots * Variables: Fixes Textbox current value persistance * Refactor: fixes PR comments and adds e2e tests
10 lines
348 B
TypeScript
10 lines
348 B
TypeScript
import { TextBoxVariableModel } from 'app/features/variables/types';
|
|
import { OptionsVariableBuilder } from './optionsVariableBuilder';
|
|
|
|
export class TextBoxVariableBuilder<T extends TextBoxVariableModel> extends OptionsVariableBuilder<T> {
|
|
withOriginalQuery(original: string) {
|
|
this.variable.originalQuery = original;
|
|
return this;
|
|
}
|
|
}
|