mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Pass in empty string quotation (#14717)
This commit is contained in:
@@ -346,8 +346,8 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
|
|||||||
this.workerMemoryLimitBox.onTextChanged(() => {
|
this.workerMemoryLimitBox.onTextChanged(() => {
|
||||||
if (!(this.saveValueToEdit(this.workerMemoryLimitBox!, this.currentConfiguration.workerMemoryLimit!))) {
|
if (!(this.saveValueToEdit(this.workerMemoryLimitBox!, this.currentConfiguration.workerMemoryLimit!))) {
|
||||||
this.saveArgs.workerMemoryLimit = undefined;
|
this.saveArgs.workerMemoryLimit = undefined;
|
||||||
} else if (this.workerMemoryLimitBox!.value === '""') {
|
} else if (this.workerMemoryLimitBox!.value === '') {
|
||||||
this.saveArgs.workerMemoryLimit = this.workerMemoryLimitBox!.value;
|
this.saveArgs.workerMemoryLimit = '""';
|
||||||
} else {
|
} else {
|
||||||
this.saveArgs.workerMemoryLimit = this.workerMemoryLimitBox!.value + 'Gi';
|
this.saveArgs.workerMemoryLimit = this.workerMemoryLimitBox!.value + 'Gi';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user