diff --git a/client/src/components/User/UserPreferences.vue b/client/src/components/User/UserPreferences.vue
index d64e60400398..327a2c17ff46 100644
--- a/client/src/components/User/UserPreferences.vue
+++ b/client/src/components/User/UserPreferences.vue
@@ -106,9 +106,17 @@
icon="fa-sign-out"
title="Sign Out"
description="Click here to sign out of all sessions."
- @click="toggleLogout = !toggleLogout" />
+ @click="showLogoutModal = true" />
+
+
+ All of your histories and datasets have been made private. If you'd like to make all *future* histories
+ private please use the
+
+ User Permissions
+ interface.
+
1 ?? false;
},
+ userPermissionsUrl() {
+ return withPrefix("/user/permissions");
+ },
},
created() {
const message = QueryStringParsing.get("message");
@@ -211,7 +223,6 @@ export default {
},
methods: {
makeDataPrivate() {
- const Galaxy = getGalaxyInstance();
if (
confirm(
_l(
@@ -225,18 +236,8 @@ export default {
)
)
) {
- axios.post(withPrefix(`/history/make_private?all_histories=true`)).then((response) => {
- Galaxy.modal.show({
- title: _l("Datasets are now private"),
- body: `All of your histories and datasets have been made private. If you'd like to make all *future* histories private please use the User Permissions interface.`,
- buttons: {
- Close: () => {
- Galaxy.modal.hide();
- },
- },
- });
+ axios.post(withPrefix(`/history/make_private?all_histories=true`)).then(() => {
+ this.showDataPrivateModal = true;
});
}
},