Commit e4eddbf2 authored by Sang D NGO's avatar Sang D NGO
Browse files

one can choose to invite expert or not

parent c62087d2
......@@ -7,7 +7,16 @@
span(aria-hidden="true") ×
h4.modal-title #{__('Lấy ý kiến chuyên gia')}
| #{__('Chọn một nhóm chuyên gia:')}
| #{__('Đặt lịch họp:')}
toggle-switch(ng-model='$ctrl.invite', color='blue', form="form")
button.btn.btn-link(type="button", ng-click="$hide()")
......@@ -48,7 +48,11 @@
function _inviteExperts() {
mostService.inviteExperts(proposal.formJson.title, self.experts);
if (self.invite) {
return mostService.inviteExperts(proposal.formJson.title, self.experts);
return $q.when();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment