mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
Fix: Edit Source button disappeared for users without CanEdit perms (#5568)
This commit is contained in:
parent
380345bb08
commit
e9bcc3c924
@ -179,7 +179,7 @@ export default function QueryPageHeader({
|
||||
|
||||
{!queryFlags.isNew && queryFlags.canViewSource && (
|
||||
<span>
|
||||
{!sourceMode && queryFlags.canEdit && (
|
||||
{!sourceMode && (
|
||||
<Link.Button className="m-r-5" href={query.getUrl(true, selectedVisualization)}>
|
||||
<i className="fa fa-pencil-square-o" aria-hidden="true" />
|
||||
<span className="m-l-5">Edit Source</span>
|
||||
|
Loading…
Reference in New Issue
Block a user