Skip to content

Commit

Permalink
Move delete workflow logic to services dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Apr 15, 2022
1 parent 816fef2 commit d83ed3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/UserscriptApp.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script lang="ts">
import { ref, defineComponent, onMounted, computed } from 'vue'
import UserscriptAppSettings from './UserscriptAppSettings.vue'
import { deleteWorkflowRuns } from '@/DeleteWorkflowRuns'
import { useStore } from '@/store'
import { deleteWorkflowRuns } from '@/services/github/deleteWorkflowRuns'
export default defineComponent({
components: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isOnWorkflowsPage } from './utils/isOnWorkflowsPage'
import { waitForSelector } from './utils/waitForSelector'
import { isOnWorkflowsPage } from '@/utils/isOnWorkflowsPage'
import { waitForSelector } from '@/utils/waitForSelector'

export async function deleteWorkflowRuns(numWorkflowRunsToKeep: number, onBeforeDelete?: () => Promise<void>): Promise<void> {
if (!isOnWorkflowsPage(window.location)) {
Expand Down

0 comments on commit d83ed3f

Please sign in to comment.