fix(web(js)): position notifications to the bottom right

Fixes #5127
Fixes #5423
This commit is contained in:
Francis Lachapelle
2021-12-03 17:40:21 -05:00
parent f9ed6391e6
commit e064e9af44
13 changed files with 38 additions and 36 deletions

View File

@@ -6,8 +6,8 @@
/**
* @ngInject
*/
ComponentController.$inject = ['$rootScope', '$scope', '$q', '$mdDialog', 'Preferences', 'Calendar', 'Component', 'AddressBook', 'Account', 'stateComponent'];
function ComponentController($rootScope, $scope, $q, $mdDialog, Preferences, Calendar, Component, AddressBook, Account, stateComponent) {
ComponentController.$inject = ['$rootScope', '$scope', '$q', '$mdDialog', 'sgConstant', 'Preferences', 'Calendar', 'Component', 'AddressBook', 'Account', 'stateComponent'];
function ComponentController($rootScope, $scope, $q, $mdDialog, sgConstant, Preferences, Calendar, Component, AddressBook, Account, stateComponent) {
var vm = this, component;
this.$onInit = function () {
@@ -424,7 +424,7 @@
'</md-toast>'
].join(''),
hideDelay: 5000,
position: 'top right'
position: sgConstant.toastPosition
});
}).finally(function () {
$timeout(scrollToStart);