Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
796
Issues
796
List
Boards
Labels
Service Desk
Milestones
Merge Requests
61
Merge Requests
61
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
2b3191b1
Commit
2b3191b1
authored
5 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): use canDelete at tree level
parent
b974752b
fix/can-delete-for-comments
No related merge requests found
Pipeline
#69378545
passed with stages
in 29 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tree.component.ts
src/app/modules/comments/tree/tree.component.ts
+2
-2
conversation.component.html
...s/groups/profile/conversation/conversation.component.html
+1
-1
No files found.
src/app/modules/comments/tree/tree.component.ts
View file @
2b3191b1
...
...
@@ -90,8 +90,8 @@ export class CommentsTreeComponent {
if
(
this
.
entity
.
entity_guid
)
this
.
guid
=
this
.
entity
.
entity_guid
;
this
.
parent
=
this
.
entity
;
if
(
!
this
.
can
Edit
)
{
this
.
can
Edit
=
this
.
entity
.
owner_guid
==
this
.
session
.
getLoggedInUser
().
guid
;
if
(
!
this
.
can
Delete
)
{
this
.
can
Delete
=
this
.
entity
.
owner_guid
==
this
.
session
.
getLoggedInUser
().
guid
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/groups/profile/conversation/conversation.component.html
View file @
2b3191b1
...
...
@@ -4,7 +4,7 @@
[
limit
]="
24
"
[
entity
]="
group
"
[
conversation
]="
true
"
[
can
Edit
]="
group
['
is:moderator
']
||
group
['
is:creator
']"
[
can
Delete
]="
group
['
is:moderator
']
||
group
['
is:creator
']"
[
readonly
]="!
group
['
is:member
']"
[
scrollable
]="
true
"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment