Skip to content
Snippets Groups Projects
Commit 5ca023bc authored by Narendra Singh Rathore's avatar Narendra Singh Rathore Committed by Chris Wells
Browse files

Issue #3502854 by narendrar, chrisfromredfin, phenaproxima: Blip of multi-val...

Issue #3502854 by narendrar, chrisfromredfin, phenaproxima: Blip of multi-val UI when using max_selections of 1
parent 291be59e
No related branches found
No related tags found
1 merge request!702Fix
Pipeline #413686 failed
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -8,9 +8,10 @@ ...@@ -8,9 +8,10 @@
<script> <script>
import { setContext, getContext } from 'svelte'; import { setContext, getContext } from 'svelte';
import { PACKAGE_MANAGER } from './constants'; import { PACKAGE_MANAGER, MAX_SELECTIONS } from './constants';
const { Drupal } = window; const { Drupal } = window;
const processMultipleProjects = MAX_SELECTIONS === null || MAX_SELECTIONS > 1;
const pageSize = getContext('pageSize'); const pageSize = getContext('pageSize');
const mediaQueryValues = getContext('mediaQueryValues'); const mediaQueryValues = getContext('mediaQueryValues');
...@@ -71,7 +72,7 @@ ...@@ -71,7 +72,7 @@
> >
<slot rows={visibleRows} /> <slot rows={visibleRows} />
</ul> </ul>
{#if PACKAGE_MANAGER.available} {#if PACKAGE_MANAGER.available && processMultipleProjects}
<ProcessQueueButton /> <ProcessQueueButton />
{/if} {/if}
{/if} {/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment