Skip to content

Commit e0e36f8

Browse files
Merge pull request #260 from fledge-iot/FOGL-7498
FOGL-7498: show blank value for config items if user changed it to blank
2 parents 1412c67 + 39b7e6f commit e0e36f8

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
@@ -146,7 +146,7 @@ export class ConfigurationControlService {
146146
Object.keys(configuration).forEach(key => {
147147
const element = configuration[key];
148148
element.key = key;
149-
element.value = element.value ? element.value : element.default;
149+
element.value = element.value !== undefined ? element.value : element.default;
150150
if (element.type.toLowerCase() == 'acl') {
151151
// fetch all acls if property type is 'acl'
152152
this.getAllACLs();

0 commit comments

Comments
 (0)