Avoid an unauthorised error if clicking on the logo in desktop mode.

This commit is contained in:
Maxim Zakharov
2017-04-05 13:33:12 +01:00
committed by Dave Page
parent a7cdd78ad7
commit 85db82c7f4
@@ -104,7 +104,7 @@ require.onResourceLoad = function (context, map, depMaps) {
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="#"> <a class="navbar-brand" href="{{ '#' if config.SERVER_MODE else '?key=' + current_app.PGADMIN_KEY }}">
<i class="app-icon {{ config.APP_ICON }}"></i> <i class="app-icon {{ config.APP_ICON }}"></i>
<span>&nbsp;{{ config.APP_NAME }}</span> <span>&nbsp;{{ config.APP_NAME }}</span>
</a> </a>