Skip to content

Commit

Permalink
Fix a few frontend lints (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcspragu authored Oct 31, 2023
1 parent 275de2e commit 0f8b404
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/pages/admin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const adminItems: AdminItem[] = [
title: 'Test Portfolio Processing',
icon: 'pi pi-file-o',
desc: 'Test out portfolio processing with an uploaded portfolio',
href: '/admin/portfolio_test'
href: '/admin/portfolio_test',
},
]
</script>
Expand Down
8 changes: 4 additions & 4 deletions frontend/pages/admin/portfolio_test.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { NewPortfolioAsset } from 'openapi/generated/pacta';
import { FileUploadUploaderEvent } from 'primevue/fileupload';
import { type NewPortfolioAsset } from 'openapi/generated/pacta'
import { type FileUploadUploaderEvent } from 'primevue/fileupload'
const pactaClient = await usePACTA()
const { $axios } = useNuxtApp()
Expand All @@ -24,7 +24,7 @@ const startProcessing = async () => {
if (assetIDs.value?.length === 0) {
return
}
const resp = await pactaClient.processPortfolio({asset_ids: assetIDs.value})
const resp = await pactaClient.processPortfolio({ asset_ids: assetIDs.value })
alert(`TASK ID: ${resp.task_id}`)
}
Expand All @@ -39,7 +39,7 @@ const createPortfolioAsset = async (file: File) => {
'x-ms-blob-type': 'BlockBlob',
},
})
uploadedAssets.value.push({resp, fileName: file.name})
uploadedAssets.value.push({ resp, fileName: file.name })
}
const onUpload = async (e: FileUploadUploaderEvent) => {
Expand Down

0 comments on commit 0f8b404

Please sign in to comment.