-
Notifications
You must be signed in to change notification settings - Fork 508
fix(capabilities): conditionally show links to calendar #15265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
DorraJaouad
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is valid not only for dashboard but for mutual events and upcoming events ;)
daacd3d to
e2e5e29
Compare
b822fb1 to
5902e5d
Compare
… is enabled Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
5902e5d to
79fc717
Compare
| $this->initialState->provideInitialState( | ||
| 'calendar_enabled', | ||
| $appManager->isEnabledForUser('calendar', $user) | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not a fun of adding a new incorrect usage of the initial state...
Fine with it, if mobile clients don't need it.
|
Since API is added now, we can consider it? #15396 |
|
That is an additional query per user opening the dashboard, sounds pretty bad to me |
☑️ Resolves
truefor Desktop, until it's settled on server capabilities PR🖌️ UI Checklist
🖼️ Screenshots / Screencasts
🏁 Checklist