-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #SB-23689 fix: DF>>Admin's ability to turn DF on/off on the UI #6602
Issue #SB-23689 fix: DF>>Admin's ability to turn DF on/off on the UI #6602
Conversation
@@ -54,6 +54,19 @@ | |||
</div> | |||
</div> | |||
<div class="four wide column"> | |||
<div *ngIf="showDiscussionForum === 'Yes'"> | |||
<label>Enable discussions</label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this hard coded not a label?
if (this.batchUpdateForm.value.enableDiscussions === 'true') { | ||
this.discussionService.createForum(this.createForumRequest).subscribe(resp => { | ||
this.handleEnableDFChange('Yes'); | ||
this.toasterService.success('Enabled discussion forum successfully'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here also the label should be used like
this.toasterService.error(this.resourceService.messages.emsg.m0005);
} | ||
} | ||
|
||
handleEnableDFChange(inputType) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a separate method?
Kudos, SonarCloud Quality Gate passed! |
Issue #SB-23689 fix: DF>>Admin's ability to turn DF on/off on the UI