Skip to content

Commit ea6e0d1

Browse files
Authoritative source button should not show if user does not have permission
#327
1 parent 1cd8380 commit ea6e0d1

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • waltz-ng/client/auth-sources

waltz-ng/client/auth-sources/edit.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ function editController($state,
9090
.insert(insertRequest)
9191
.then(
9292
() => notification.success('Authoritative Sources updated'),
93-
(e) => {
94-
console.log('err', e);
95-
notification.error('Update failed, ' + e.data.message || e.statusText);
96-
}
97-
)
93+
(e) => notification.error('Update failed, ' + e.data.message || e.statusText))
9894
.then(refresh);
9995
}
10096
}

0 commit comments

Comments
 (0)