parent
a2896cc39d
commit
fce37f545a
2 changed files with 1 additions and 3 deletions
|
@ -74,8 +74,6 @@ quayApp.config(['$tooltipProvider', function ($tooltipProvider) {
|
||||||
|
|
||||||
// Configure the routes.
|
// Configure the routes.
|
||||||
quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeProvider, $locationProvider, pages) {
|
quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeProvider, $locationProvider, pages) {
|
||||||
var title = window.__config['REGISTRY_TITLE'] || 'Quay';
|
|
||||||
|
|
||||||
$locationProvider.html5Mode(true);
|
$locationProvider.html5Mode(true);
|
||||||
|
|
||||||
// WARNING WARNING WARNING
|
// WARNING WARNING WARNING
|
||||||
|
|
|
@ -12,7 +12,7 @@ angular.module('quay').factory('MetaService', ['$interpolate', 'Config', '$rootS
|
||||||
|
|
||||||
var inter = $interpolate(expr, true, null, true);
|
var inter = $interpolate(expr, true, null, true);
|
||||||
if (!inter) {
|
if (!inter) {
|
||||||
return null;
|
return expr.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
return inter(page.scope);
|
return inter(page.scope);
|
||||||
|
|
Reference in a new issue