Skip to content

Conversation

@volodyayakubovskyy
Copy link
Contributor

Also added api integration for view-only-links in contributors page

# Conflicts:
#	src/app/core/constants/ngxs-states.constant.ts
# Conflicts:
#	src/app/core/constants/ngxs-states.constant.ts
#	src/app/core/interceptors/auth.interceptor.ts
#	src/app/features/my-projects/models/node-response.model.ts
#	src/app/features/my-projects/models/update-node-request.model.ts
#	src/app/features/my-projects/services/my-projects.service.ts
#	src/app/features/project/contributors/contributors.component.ts
#	src/app/features/project/settings/components/accordion-table/accordion-table.component.ts
#	src/app/features/project/settings/components/settings-commenting-card/settings-commenting-card.component.ts
#	src/app/features/project/settings/components/settings-project-form-card/settings-project-form-card.component.ts
#	src/app/features/project/settings/components/settings-view-only-links-card/settings-view-only-links-card.component.ts
#	src/app/features/project/settings/models/index.ts
#	src/app/features/project/settings/settings.component.html
#	src/app/features/project/settings/settings.component.ts
#	src/app/features/settings/notifications/store/notification-subscription.state.ts
<th>
{{ 'myProjects.settings.viewOnlyTable.sharedComponents' | translate }}
</th>
@if (tableData().items && tableData().items.length) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@if (tableData().items && tableData().items.length) {
@if (tableData().items?.length) {

It can be simplified.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when i've tried simplified angular throwed an errror.

@@ -0,0 +1,2 @@
export * from './settings.service';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes clear what you export and avoid circular dependencies.

@volodyayakubovskyy volodyayakubovskyy merged commit 8328660 into main May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants