windmill-components 1.305.3 → 1.305.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,6 @@ import ToggleButtonGroup from './common/toggleButton-v2/ToggleButtonGroup.svelte
9
9
  import ToggleButton from './common/toggleButton-v2/ToggleButton.svelte';
10
10
  import FlowIcon from './home/FlowIcon.svelte';
11
11
  import { Alert, Button } from './common';
12
- import { goto } from '$app/navigation';
13
12
  import YAML from 'yaml';
14
13
  let search = '';
15
14
  export async function open(nsearch) {
@@ -267,7 +266,9 @@ $: counts =
267
266
  <div class="flex gap-2">
268
267
  <Button
269
268
  on:click|once={() => {
270
- goto(`/scripts/edit/${item.path}?no_draft=true`)
269
+ window
270
+ .open(`/scripts/edit/${item.path}?no_draft=true`, '_blank')
271
+ ?.focus()
271
272
  }}
272
273
  color="light"
273
274
  size="sm"
@@ -307,7 +308,9 @@ $: counts =
307
308
  <div class="flex gap-2">
308
309
  <Button
309
310
  on:click|once={() => {
310
- goto(`/flows/edit/${item.path}?no_draft=true`)
311
+ window
312
+ .open(`/flows/edit/${item.path}?no_draft=true`, '_blank')
313
+ ?.focus()
311
314
  }}
312
315
  color="light"
313
316
  size="sm"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.305.3",
3
+ "version": "1.305.4",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",