diff --git a/app/javascript/vue/shared/access_modal/assign_flyout.vue b/app/javascript/vue/shared/access_modal/assign_flyout.vue
index af7da45cb..3f4783dde 100644
--- a/app/javascript/vue/shared/access_modal/assign_flyout.vue
+++ b/app/javascript/vue/shared/access_modal/assign_flyout.vue
@@ -3,7 +3,7 @@
{{ i18n.t('access_permissions.partials.new_assignments_form.grant_access') }}
-
+
this.assignRole('all', ...args)"
>
-
+
{{ user.attributes.name }}
- {{ `(${i18n.t('access_permissions.you')})` }}
+ {{ i18n.t('access_permissions.you') }}
this.assignRole(user.id, ...args)"
>
+
+ {{ i18n.t('access_permissions.no_results') }}
+
@@ -59,7 +62,7 @@ import GeneralDropdown from '../general_dropdown.vue';
import axios from '../../../packs/custom_axios.js';
export default {
- emits: ['modified', 'usersReloaded', 'changeVisibility'],
+ emits: ['modified', 'usersReloaded', 'changeVisibility', 'assigningNewUsers'],
props: {
params: {
type: Object,
@@ -138,6 +141,8 @@ export default {
this.$emit('modified');
HelperModule.flashAlertMsg(response.data.message, 'success');
this.getUnAssignedUsers();
+ this.query = '';
+ this.$refs.dropdown.closeMenu();
if (id === 'all') {
this.$emit('changeVisibility', true, roleId);
diff --git a/app/javascript/vue/shared/access_modal/edit.vue b/app/javascript/vue/shared/access_modal/edit.vue
index d3ecbc566..2f8056591 100644
--- a/app/javascript/vue/shared/access_modal/edit.vue
+++ b/app/javascript/vue/shared/access_modal/edit.vue
@@ -63,7 +63,7 @@ import MenuDropdown from '../menu_dropdown.vue';
import axios from '../../../packs/custom_axios.js';
export default {
- emits: ['modified', 'usersReloaded', 'changeVisibility'],
+ emits: ['modified', 'usersReloaded', 'changeVisibility', 'assigningNewUsers'],
props: {
params: {
type: Object,
diff --git a/app/javascript/vue/shared/datatable/tableHeader.js b/app/javascript/vue/shared/datatable/tableHeader.js
index 3734ca526..d77c4a5e7 100644
--- a/app/javascript/vue/shared/datatable/tableHeader.js
+++ b/app/javascript/vue/shared/datatable/tableHeader.js
@@ -1,6 +1,6 @@
export default {
template: `
-
@@ -12,6 +12,9 @@ export default {
+
+
+
`,
data() {
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e07f10256..1d036295a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -3715,6 +3715,7 @@ en:
remove_access: "Remove access"
grant_access: "Grant new access"
you: "you"
+ no_results: "No results"
create:
success: "You have successfully granted access to %{member_name}."
failure: "Something went wrong"