Skip to content

Commit

Permalink
Improved: code by avoiding the change in internalId when group name i…
Browse files Browse the repository at this point in the history
…s renamed(#115)
  • Loading branch information
Ritika-Patel08 committed Mar 12, 2024
1 parent 4fc98b2 commit 64c57d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/CreateSecurityGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ion-list>
<ion-item>
<ion-label position="floating">{{ translate('Name') }}</ion-label>
<ion-input @ionBlur="setGroupId($event)" v-model="formData.groupName" />
<ion-input @ionBlur="formData.groupId ? null : setGroupId($event)" v-model="formData.groupName" />
</ion-item>
<ion-item ref="groupId">
<ion-label position="floating">{{ translate('Internal ID') }}</ion-label>
Expand Down

0 comments on commit 64c57d7

Please sign in to comment.