]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | import { Component, Input, OnChanges } from '@angular/core'; |
2 | ||
f67539c2 | 3 | import _ from 'lodash'; |
11fdf7f2 | 4 | |
11fdf7f2 TL |
5 | @Component({ |
6 | selector: 'cd-configuration-details', | |
7 | templateUrl: './configuration-details.component.html', | |
8 | styleUrls: ['./configuration-details.component.scss'] | |
9 | }) | |
10 | export class ConfigurationDetailsComponent implements OnChanges { | |
11 | @Input() | |
e306af50 | 12 | selection: any; |
11fdf7f2 | 13 | flags = { |
f67539c2 TL |
14 | runtime: $localize`The value can be updated at runtime.`, |
15 | no_mon_update: $localize`Daemons/clients do not pull this value from the | |
11fdf7f2 TL |
16 | monitor config database. We disallow setting this option via 'ceph config |
17 | set ...'. This option should be configured via ceph.conf or via the | |
f67539c2 TL |
18 | command line.`, |
19 | startup: $localize`Option takes effect only during daemon startup.`, | |
20 | cluster_create: $localize`Option only affects cluster creation.`, | |
21 | create: $localize`Option only affects daemon creation.` | |
11fdf7f2 TL |
22 | }; |
23 | ||
11fdf7f2 | 24 | ngOnChanges() { |
e306af50 TL |
25 | if (this.selection) { |
26 | this.selection.services = _.split(this.selection.services, ','); | |
11fdf7f2 TL |
27 | } |
28 | } | |
29 | } |