Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6fb6527

Browse files
sushilshindesushilshinde
sushilshinde
authored and
sushilshinde
committed
Done button made active on page dirty instead of only communities
1 parent 579937f commit 6fb6527

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/skill-picker/skill-picker.controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ import _ from 'lodash'
196196
}
197197
promises.push(ProfileService.updateUserSkills(vm.username, data))
198198
}
199-
logger.debug('isCommunitiesDirty: ' + isCommunitiesDirty())
199+
200200
if (isCommunitiesDirty()) {
201201
for(var communityName in vm.communities) {
202202
var community = vm.communities[communityName]

Diff for: app/skill-picker/skill-picker.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@
7474
type="button",
7575
tc-busy-button, tc-busy-when="vm.saving",
7676
ng-click="vm.submitSkills()",
77-
ng-disabled="vm.disableDoneButton || !vm.isCommunitySelected()") Done
77+
ng-disabled="vm.disableDoneButton || !vm.isPageDirty()") Done

0 commit comments

Comments
 (0)