Skip to content

Commit 5fcf06d

Browse files
show blank value for config items if user changed it to blank
1 parent 4e129f6 commit 5fcf06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/services/configuration-control.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class ConfigurationControlService {
145145
Object.keys(configuration).forEach(key => {
146146
const element = configuration[key];
147147
element.key = key;
148-
element.value = element.value ? element.value : element.default;
148+
element.value = (element.value || element.value === '') ? element.value : element.default;
149149
if (element.type.toLowerCase() == 'acl') {
150150
// fetch all acls if property type is 'acl'
151151
this.getAllACLs();

0 commit comments

Comments
 (0)