From ea517f8cf1822aa6c9f76faade48ff665d790f4d Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Wed, 29 Jan 2025 11:38:11 +0000 Subject: [PATCH] wip --- resources/js/components/live-preview/LivePreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/live-preview/LivePreview.vue b/resources/js/components/live-preview/LivePreview.vue index 9124306403..6c969956a4 100644 --- a/resources/js/components/live-preview/LivePreview.vue +++ b/resources/js/components/live-preview/LivePreview.vue @@ -149,7 +149,7 @@ export default { return { value: device, label: __(device) }; })); - if (! options.filter((option) => option.label === __('Responsive'))) { + if (options.filter((option) => option.label === __('Responsive')).length === 0) { options.unshift({ value: null, label: __('Responsive') }); }