This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 4e54dec removed the current user from sharing entity suggestion list
new f121e4e Merge pull request #34 from aarushiibisht/master
4e54dec is described below
commit 4e54dec09ab0f2809117aba6b535505b49f2180e
Author: Aarushi <[email protected]>
AuthorDate: Mon Jul 22 16:04:52 2019 -0400
removed the current user from sharing entity suggestion list
---
django_airavata/static/common/js/components/SharedEntityEditor.vue | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/django_airavata/static/common/js/components/SharedEntityEditor.vue
b/django_airavata/static/common/js/components/SharedEntityEditor.vue
index a12db19..aa73061 100644
--- a/django_airavata/static/common/js/components/SharedEntityEditor.vue
+++ b/django_airavata/static/common/js/components/SharedEntityEditor.vue
@@ -126,7 +126,7 @@
</template>
<script>
-import { models, utils } from "django-airavata-api";
+import { models, utils, session } from "django-airavata-api";
import AutocompleteTextInput from "./AutocompleteTextInput.vue";
import VModelMixin from "../mixins/VModelMixin";
@@ -271,6 +271,7 @@ export default {
: [];
return this.users
.filter(user => currentUserIds.indexOf(user.airavataInternalUserId) <
0)
+ .filter(user => user.airavataInternalUserId !==
session.Session.airavataInternalUserId)
.map(user => {
return {
id: user.airavataInternalUserId,