Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide statute amendments checkbox #3440

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ <h2 *ngIf="settingsGroup">
<h3 class="accent" *ngIf="settingsGroup.subgroups.length > 1">{{ subgroup.label | translate }}</h3>
<ng-container *ngFor="let setting of subgroup.settings">
<os-meeting-settings-group-detail-field
*ngIf="!setting.hide"
#settingsFields
(update)="updateSetting($event)"
[setting]="setting"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export interface SettingsItem<V = any> {
* @param value: The value used...
*/
restrictionFn?: <T>(orgaSettings: OrganizationSettingsService, value: T) => any;
hide?: boolean; // Hide the setting in the settings view
}

interface SettingsItemAutomaticChangeSetting<V> {
Expand Down Expand Up @@ -662,7 +663,8 @@ export const meetingSettings: SettingsGroup[] = fillInSettingsDefaults([
{
key: `motions_statutes_enabled`,
label: _(`Activate statute amendments`),
type: `boolean`
type: `boolean`,
hide: true
},
{
key: `motions_amendments_in_main_list`,
Expand Down
Loading