Pass in empty string quotation (#14717)

This commit is contained in:
nasc17
2021-03-12 15:50:41 -08:00
committed by GitHub
parent 63828dcc15
commit 42347b4681

View File

@@ -346,8 +346,8 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
this.workerMemoryLimitBox.onTextChanged(() => {
if (!(this.saveValueToEdit(this.workerMemoryLimitBox!, this.currentConfiguration.workerMemoryLimit!))) {
this.saveArgs.workerMemoryLimit = undefined;
} else if (this.workerMemoryLimitBox!.value === '""') {
this.saveArgs.workerMemoryLimit = this.workerMemoryLimitBox!.value;
} else if (this.workerMemoryLimitBox!.value === '') {
this.saveArgs.workerMemoryLimit = '""';
} else {
this.saveArgs.workerMemoryLimit = this.workerMemoryLimitBox!.value + 'Gi';
}