diff --git a/app/access-control/controllers/user-controller.js b/app/access-control/controllers/user-controller.js
index 8ee8f88..868bc15 100644
--- a/app/access-control/controllers/user-controller.js
+++ b/app/access-control/controllers/user-controller.js
@@ -41,8 +41,9 @@
        * @returns user
        */
       function mapTableData(user) {
-        const accountStatus =
-            user.Locked ? 'Locked' : user.Enabled ? 'Enabled' : 'Disabled';
+        const accountStatus = user.Locked ? 'Locked' :
+            user.Enabled                  ? 'Enabled' :
+                                            'Disabled';
         const editAction = {type: 'Edit', enabled: true, file: 'icon-edit.svg'};
         const deleteAction = {
           type: 'Delete',
@@ -322,8 +323,9 @@
                 // Check if UserName is root
                 // Some form controls will be disabled for root users:
                 // edit enabled status, edit username, edit role
-                const isRoot =
-                    newUser ? false : checkIfRoot(user) ? true : false;
+                const isRoot = newUser ? false :
+                    checkIfRoot(user)  ? true :
+                                         false;
                 // Array of existing usernames (excluding current user instance)
                 const existingUsernames =
                     $scope.localUsers.reduce((acc, val) => {
diff --git a/app/common/services/toastService.js b/app/common/services/toastService.js
index 0718e4d..a4ad995 100644
--- a/app/common/services/toastService.js
+++ b/app/common/services/toastService.js
@@ -15,9 +15,10 @@
     function(ngToast, $sce) {
       function initToast(
           type = 'create', title = '', message = '', dismissOnTimeout = false) {
-        const iconStatus = type === 'success' ?
-            'on' :
-            type === 'danger' ? 'error' : type === 'warning' ? 'warn' : null;
+        const iconStatus = type === 'success' ? 'on' :
+            type === 'danger'                 ? 'error' :
+            type === 'warning'                ? 'warn' :
+                                                null;
         const content = $sce.trustAsHtml(`
           <div role="alert" class="alert-content-container">
             <status-icon ng-if="${iconStatus !== null}"
