Skip to content

Commit

Permalink
Merge branch 'release/2.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 20, 2024
2 parents 56f512b + 0270081 commit cc4ee28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _define.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'Galette Maps', //Name
'Maps features', //Short description
'Johan Cwiklinski', //Author
'2.1.1', //Version
'2.1.2', //Version
'1.1.4', //Galette compatible version
'maps', //routing name and translation domain
'2024-10-20', //Release date
Expand Down
4 changes: 4 additions & 0 deletions lib/GaletteMaps/PluginGaletteMaps.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ public static function getMyDashboardsContents(): array
/** @var Login $login */
global $login;

if ($login->isSuperAdmin()) {
return [];
}

return [
[
'label' => _T("My localization", "maps"),
Expand Down

0 comments on commit cc4ee28

Please sign in to comment.