Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
6cc25190
Commit
6cc25190
authored
5 years ago
by
Lukas Mauß
Committed by
Tom Käsler
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix user role check for export button
parent
ab531621
1 merge request
!171
SWTP Comment Project
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/shared/comment-list/comment-list.component.html
+1
-1
1 addition, 1 deletion
...omponents/shared/comment-list/comment-list.component.html
with
1 addition
and
1 deletion
src/app/components/shared/comment-list/comment-list.component.html
+
1
−
1
View file @
6cc25190
...
...
@@ -7,7 +7,7 @@
<button
mat-button
*ngIf=
"searchBox.value || isIconHide"
(click)=
"hideCommentsList=false; searchBox.value=''; isIconHide=false"
>
<mat-icon>
close
</mat-icon>
</button>
<button
mat-button
*ngIf=
"!searchBox.value && userRole ===
'1'
&& comments.length > 0"
<button
mat-button
*ngIf=
"!searchBox.value && userRole ===
1
&& comments.length > 0"
[matTooltip]=
"'Export comments'"
(click)=
"export(true)"
>
<mat-icon
class=
"add-icon"
id=
"export-icon"
>
cloud_download
</mat-icon>
</button>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment