Skip to content

Commit

Permalink
bsserver-demo: fix reactive issue when override existing config.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Feb 24, 2022
1 parent d4839f5 commit ce46f14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions leshan-bsserver-demo/webapp/src/views/Bootstrap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
<br />
</span>
<span v-if="item.autoIdForSecurityObject"
>Use Auto ID For Security Object<br /></span
>
>Use Auto ID For Security Object<br
/></span>
<!-- LWM2M Server to add -->
<span v-for="server in item.dm" :key="server.shortid">
Add Server: <code>{{ server.security.uri }}</code>
Expand Down Expand Up @@ -307,7 +307,7 @@ export default {
(c) => c.endpoint == config.endpoint
);
if (index != -1) {
this.clientConfigs[index] = c;
this.$set(this.clientConfigs, index, c);
} else {
this.clientConfigs.push(c);
}
Expand Down

0 comments on commit ce46f14

Please sign in to comment.