Skip to content

Commit

Permalink
fix(core): only filter on body type when logged in (#2113)
Browse files Browse the repository at this point in the history
Co-authored-by: WikiRik <WikiRik@users.noreply.github.com>
  • Loading branch information
WikiRik and WikiRik committed Apr 10, 2024
1 parent c4c6b8a commit 0e1b737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/views/core/bodies/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@
<div class="field">
<label class="label">Google Workspace account</label>
<div class="control">
<input class="input" data-cy="gsuite_id" type="email" required :disabled="!can.editGsuite" v-model="body.gsuite_id" placeholder="Type the Google Workspace email of the body" />
<input class="input" data-cy="gsuite_id" type="email" :disabled="!can.editGsuite" v-model="body.gsuite_id" placeholder="Type the Google Workspace email of the body" />
</div>
<p class="help is-danger" v-if="errors.gsuite_id">{{ errors.gsuite_id.join(', ')}}</p>
</div>

<div class="field">
<label class="label">Google Group</label>
<div class="control">
<input class="input" data-cy="google_group" type="email" required :disabled="!can.editGsuite" v-model="body.google_group" placeholder="Type the Google Group of the body" />
<input class="input" data-cy="google_group" type="email" :disabled="!can.editGsuite" v-model="body.google_group" placeholder="Type the Google Group of the body" />
</div>
<p class="help is-danger" v-if="errors.google_group">{{ errors.google_group.join(', ')}}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/core/bodies/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</div>
</div>

<div class="field">
<div class="field" v-if="loginUser">
<label class="label">Filter on body type</label>
<div class="control">
<multiselect
Expand Down

0 comments on commit 0e1b737

Please sign in to comment.