Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
Alex Gleason
2024-05-25 11:23:09 -05:00
committed by marcin mikołajczak
parent 8a2f6d251e
commit 1087edbc69
7 changed files with 12 additions and 12 deletions

View File

@@ -104,7 +104,7 @@ const updateSoapboxConfig = (data: Record<string, any>) =>
group: ':pleroma',
key: ':frontend_configurations',
value: [{
tuple: [':soapbox_fe', data],
tuple: [':pl_fe', data],
}],
}];

View File

@@ -13,7 +13,7 @@ const SETTING_CHANGE = 'SETTING_CHANGE' as const;
const SETTING_SAVE = 'SETTING_SAVE' as const;
const SETTINGS_UPDATE = 'SETTINGS_UPDATE' as const;
const FE_NAME = 'soapbox_fe';
const FE_NAME = 'pl_fe';
/** Options when changing/saving settings. */
type SettingOpts = {

View File

@@ -61,9 +61,9 @@ const fetchSoapboxConfig = (host: string | null) =>
if (features.frontendConfigurations) {
return dispatch(fetchFrontendConfigurations()).then(data => {
if (data.soapbox_fe) {
dispatch(importSoapboxConfig(data.soapbox_fe, host));
return data.soapbox_fe;
if (data.pl_fe) {
dispatch(importSoapboxConfig(data.pl_fe, host));
return data.pl_fe;
}
});
} else {