mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 14:24:27 +01:00
fix(layout): experimental styles not applied
This commit is contained in:
parent
d0b0a13b6d
commit
87d99aaffa
@ -28,7 +28,11 @@ export function isExperimentalFeatureEnabled(featureId: ExperimentalFeatureId):
|
||||
}
|
||||
|
||||
export function getEnabledExperimentalFeatureIds() {
|
||||
return getEnabledFeatures().values();
|
||||
const values = [ ...getEnabledFeatures().values() ];
|
||||
if (options.is("newLayout")) {
|
||||
values.push("new-layout");
|
||||
}
|
||||
return values;
|
||||
}
|
||||
|
||||
export async function toggleExperimentalFeature(featureId: ExperimentalFeatureId, enable: boolean) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user