Skip to content

Commit

Permalink
Merge pull request #81 from simonsobs/button
Browse files Browse the repository at this point in the history
Move the "Interrupt" button to the dropdown menu
  • Loading branch information
TaiSakuma authored Dec 17, 2024
2 parents 40db69f + b9750a9 commit f9c31d3
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/main/run-frame/top-bar/ActionRunning.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
<template>
<VSpacer></VSpacer>
<VBtn
variant="outlined"
color="error"
prepend-icon="mdi-close"
@click="dialogInterrupt = true"
>
interrupt
</VBtn>
<Component :is="menuComponent" v-bind="menuAttributes">
<template #activator="{ props }">
<VBtn variant="text" v-bind="props" icon="mdi-dots-horizontal" density="compact">
</VBtn>
</template>
<VList>
<VListItem @click="dialogInterrupt = true" class="text-error">
<template #prepend>
<VIcon> mdi-close </VIcon>
</template>
interrupt
</VListItem>
<VListItem @click="dialogTerminate = true" class="text-error">
<template #prepend>
<VIcon> mdi-close-octagon-outline </VIcon>
Expand Down

0 comments on commit f9c31d3

Please sign in to comment.