Use spaces suffix that replaces dots in username
This assumes usernames only have . or - but not both
This commit is contained in:
@@ -18,6 +18,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
$scope.searchString = '';
|
||||
$scope.validAppstoreAccount = false;
|
||||
$scope.appstoreConfig = null;
|
||||
$scope.spacesSuffix = '';
|
||||
|
||||
$scope.showView = function (view) {
|
||||
// wait for dialog to be fully closed to avoid modal behavior breakage when moving to a different view already
|
||||
@@ -526,6 +527,8 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
function init() {
|
||||
$scope.ready = false;
|
||||
|
||||
$scope.spacesSuffix = $scope.user.username.replace(/\./g, '-');
|
||||
|
||||
getAppList(function (error, apps) {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
|
||||
Reference in New Issue
Block a user