()
| 21 | * Helper function to get scope items for radio button selects |
| 22 | */ |
| 23 | export function getScopeItems() { |
| 24 | return [ |
| 25 | { label: SCOPE_LABELS[SettingScope.User], value: SettingScope.User }, |
| 26 | { |
| 27 | label: SCOPE_LABELS[SettingScope.Workspace], |
| 28 | value: SettingScope.Workspace, |
| 29 | }, |
| 30 | { label: SCOPE_LABELS[SettingScope.System], value: SettingScope.System }, |
| 31 | ]; |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Generate scope message for a specific setting |
no outgoing calls
no test coverage detected