@prefecthq/prefect-ui-library 3.11.53 → 3.11.54
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.
- package/dist/{RunsPageWithDefaultFilter-_nTaWNkQ.mjs → RunsPageWithDefaultFilter-DXLcQLXU.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-_nTaWNkQ.mjs.map → RunsPageWithDefaultFilter-DXLcQLXU.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-it_aV9ND.mjs → WorkQueueToWorkPoolQueueRedirect-9VwwfuHA.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-it_aV9ND.mjs.map → WorkQueueToWorkPoolQueueRedirect-9VwwfuHA.mjs.map} +1 -1
- package/dist/{index-_T0L4eDo.mjs → index-Dpy6eUAX.mjs} +151 -151
- package/dist/{index-_T0L4eDo.mjs.map → index-Dpy6eUAX.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +17 -17
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FlowList.vue +6 -3
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
<template #action="{ row }">
|
|
66
66
|
<div class="flow-list__action">
|
|
67
|
-
<FlowMenu size="xs" :flow="row" flat @delete="refresh" />
|
|
67
|
+
<FlowMenu size="xs" :flow="row" flat @delete="refresh(row.id)" />
|
|
68
68
|
</div>
|
|
69
69
|
</template>
|
|
70
70
|
|
|
@@ -188,8 +188,11 @@
|
|
|
188
188
|
|
|
189
189
|
const selectedFlows = ref<Flow[]>([])
|
|
190
190
|
|
|
191
|
-
function refresh(): void {
|
|
192
|
-
|
|
191
|
+
function refresh(flowId?: string): void {
|
|
192
|
+
if (flowId) {
|
|
193
|
+
selectedFlows.value = selectedFlows.value.filter(flow => flow.id !== flowId)
|
|
194
|
+
}
|
|
195
|
+
subscription.refresh()
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
const emit = defineEmits<{
|