mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: more any/type assertion improvements (#57450)
* more friday any/type assertion improvements * Apply suggestions from code review Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> * Update public/app/angular/promiseToDigest.test.ts Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
This commit is contained in:
@@ -56,7 +56,7 @@ export const PlaylistPage = () => {
|
||||
{showSearch && (
|
||||
<PageActionBar
|
||||
searchQuery={searchQuery}
|
||||
linkButton={contextSrv.isEditor && { title: 'New playlist', href: '/playlists/new' }}
|
||||
linkButton={contextSrv.isEditor ? { title: 'New playlist', href: '/playlists/new' } : undefined}
|
||||
setSearchQuery={setSearchQuery}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user