diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-10-28 20:59:26 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-11-04 03:17:29 +0300 |
commit | 50a6612c1fb1d56f5a9845481c8b74b9331c3c78 (patch) | |
tree | 690a64bd9a1f0c7d2ec14bb67638d1625158ea42 /apps | |
parent | eb6217f551da044110f56c1ff69e58bad2cbdcb0 (diff) |
Refine profile backend for frontend visibility requirements
- Provide metadata
- Dynamic displayId
- Add appId
- Filter out unused parameter config properties from the existing profile config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings/lib/Settings/Personal/PersonalInfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php index 72c443ed1b6..def7e19f006 100644 --- a/apps/settings/lib/Settings/Personal/PersonalInfo.php +++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php @@ -187,7 +187,7 @@ class PersonalInfo implements ISettings { ]; $profileParameters = [ - 'profileConfig' => $this->profileManager->getProfileConfig($user, $user), + 'profileConfig' => $this->profileManager->getProfileConfigWithMetadata($user, $user), ]; $this->initialStateService->provideInitialState('personalInfoParameters', $personalInfoParameters); |