File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
apps/lfx-one/src/app/modules/project/dashboard/project-dashboard Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -258,8 +258,10 @@ <h3 class="text-sm font-display text-gray-500">Recently Updated Committees</h3>
258258 < i class ="fa-light fa-people-group text-4xl text-gray-400 mb-4 "> </ i >
259259 < h3 class ="text-lg font-medium text-gray-900 mb-2 "> No Committees</ h3 >
260260 < p class ="text-gray-600 mb-4 text-sm "> This project doesn't have any committees yet.</ p >
261- < lfx-button label ="Add Committee " icon ="fa-light fa-people-group " severity ="secondary " size ="small " (onClick) ="openCreateDialog() ">
262- </ lfx-button >
261+ @if (project()?.writer) {
262+ < lfx-button label ="Add Committee " icon ="fa-light fa-people-group " severity ="secondary " size ="small " (onClick) ="openCreateDialog() ">
263+ </ lfx-button >
264+ }
263265 </ div >
264266 </ div >
265267 }
You can’t perform that action at this time.
0 commit comments