Convert feature setting usages to regular settings
This commit is contained in:
parent
c91fc99d4b
commit
96087d61f6
25 changed files with 30 additions and 101 deletions
|
@ -143,7 +143,7 @@ export default async function sendBugReport(bugReportEndpoint: string, opts: IOp
|
|||
}
|
||||
|
||||
// add labs options
|
||||
const enabledLabs = SettingsStore.getLabsFeatures().filter(f => SettingsStore.isFeatureEnabled(f));
|
||||
const enabledLabs = SettingsStore.getLabsFeatures().filter(f => SettingsStore.getValue(f));
|
||||
if (enabledLabs.length) {
|
||||
body.append('enabled_labs', enabledLabs.join(', '));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue