Skip to content

Commit 301e653

Browse files
authored
fix(redirect-link): removed it (#327)
1 parent 7058fd7 commit 301e653

13 files changed

+2
-209
lines changed

src/app/features/project/settings/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export { ProjectSettingNotificationsComponent } from './project-setting-notifica
33
export { SettingsAccessRequestsCardComponent } from './settings-access-requests-card/settings-access-requests-card.component';
44
export { SettingsProjectAffiliationComponent } from './settings-project-affiliation/settings-project-affiliation.component';
55
export { SettingsProjectFormCardComponent } from './settings-project-form-card/settings-project-form-card.component';
6-
export { SettingsRedirectLinkComponent } from './settings-redirect-link/settings-redirect-link.component';
76
export { SettingsStorageLocationCardComponent } from './settings-storage-location-card/settings-storage-location-card.component';
87
export { SettingsViewOnlyLinksCardComponent } from './settings-view-only-links-card/settings-view-only-links-card.component';
98
export { SettingsWikiCardComponent } from './settings-wiki-card/settings-wiki-card.component';

src/app/features/project/settings/components/settings-redirect-link/settings-redirect-link.component.html

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/app/features/project/settings/components/settings-redirect-link/settings-redirect-link.component.spec.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/app/features/project/settings/components/settings-redirect-link/settings-redirect-link.component.ts

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/app/features/project/settings/mappers/settings.mapper.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export class SettingsMapper {
2121
accessRequestsEnabled: result.attributes.access_requests_enabled,
2222
anyoneCanComment: result.attributes.anyone_can_comment,
2323
anyoneCanEditWiki: result.attributes.anyone_can_edit_wiki,
24-
redirectLinkEnabled: result.attributes.redirect_link_enabled,
25-
redirectLinkLabel: result.attributes.redirect_link_label,
26-
redirectLinkUrl: result.attributes.redirect_link_url,
2724
wikiEnabled: result.attributes.wiki_enabled,
2825
},
2926
} as ProjectSettingsModel;

src/app/features/project/settings/models/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ export * from './project-details.model';
33
export * from './project-details-json-api.model';
44
export * from './project-settings.model';
55
export * from './project-settings-response.model';
6-
export * from './redirect-link-data.model';
7-
export * from './redirect-link-form.model';
86
export * from './right-control.model';

src/app/features/project/settings/models/project-settings-response.model.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ export interface ProjectSettingsAttributes {
33
anyone_can_comment: boolean;
44
anyone_can_edit_wiki: boolean;
55
wiki_enabled: boolean;
6-
redirect_link_enabled: boolean;
7-
redirect_link_url: string;
8-
redirect_link_label: string;
96
}
107

118
export interface RelatedLink {

src/app/features/project/settings/models/project-settings.model.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ export interface ProjectSettingsModel {
44
accessRequestsEnabled: boolean;
55
anyoneCanComment: boolean;
66
anyoneCanEditWiki: boolean;
7-
redirectLinkEnabled: boolean;
8-
redirectLinkLabel: string;
9-
redirectLinkUrl: string;
107
wikiEnabled: boolean;
118
};
129
lastFetched?: number;

src/app/features/project/settings/models/redirect-link-data.model.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/app/features/project/settings/models/redirect-link-form.model.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)