Skip to content

Commit

Permalink
GUI Issue-#3737: export template modal small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrGorodetskii committed Oct 14, 2024
1 parent 51d9be9 commit 5bcf2a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class ExportButton extends React.Component {
if (!template.permissions || this.isAdmin) {
return true;
}
if (!template['template_path'] || !this.props.authenticatedUserInfo.loaded) {
if (!this.props.authenticatedUserInfo.loaded) {
return false;
}
return checkTemplatePermissions(this.props.authenticatedUserInfo.value, template);
Expand Down

0 comments on commit 5bcf2a3

Please sign in to comment.