Skip to content

Commit 4f6c20b

Browse files
authored
Merge pull request #331 from ambrosus/fix-account-active
Fix account activation
2 parents a7ffcd0 + a8f5952 commit 4f6c20b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dashboard",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"main": "server.js",
55
"scripts": {
66
"ng": "ng",

src/app/modules/organization/accounts/all/all.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h5 class="title">
4545
type: 'action',
4646
title: 'Disable',
4747
click: actions,
48-
args: [self, 'accountModify', { address: acc.address, data: { permissions: [] } }]
48+
args: [self, 'accountModify', { address: acc.address, data: { active: false } }]
4949
}]
5050
}"></app-drop-down>
5151
</span>
@@ -140,7 +140,7 @@ <h5 class="title mute">
140140
type: 'action',
141141
title: 'Activate',
142142
click: actions,
143-
args: [self, 'accountModify', { address: acc.address, data: { permissions: ['create_asset', 'create_event'] } }]
143+
args: [self, 'accountModify', { address: acc.address, data: { active: true } }]
144144
}]
145145
}"></app-drop-down>
146146
</span>

0 commit comments

Comments
 (0)