Checking the RAM in settings-wizard

This commit is contained in:
Jesús Ángel González 2018-05-28 11:06:53 +02:00 committed by Javier Castro
parent e54ad65cc1
commit 033db85463

View File

@ -11,11 +11,14 @@
*/
import checkTimestamp from './check-timestamp'
import healthCheck from './health-check'
import totalRAM from './check-ram'
export default ($rootScope, $location, $q, $window, testAPI, appState, genericReq, errorHandler) => {
try {
const deferred = $q.defer();
totalRAM(genericReq,errorHandler);
// Save current location if we aren't performing a health-check, to later be able to come back to the same tab
if (!$location.path().includes("/health-check")) {
$rootScope.previousLocation = $location.path();