File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
apps/whattheduck/src/stores
packages/api/services/collection/issues Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ export const app = defineStore('app', () => {
155155 getTextToCopy : async ( ) => {
156156 await coa ( ) . fetchIssuecodesByPublicationcode ( [ publicationcode . value ! ] ) ;
157157 return coa ( )
158- . issuecodesByPublicationcode [ publicationcode . value ! ] . filter (
158+ . issuecodesByPublicationcode [ publicationcode . value ! ] . map ( ( { issuecode } ) => issuecode )
159+ . filter (
159160 // FIXME can't deconstruct collection() using storeToRefs
160161 ( issuecode ) =>
161162 ! collection ( )
Original file line number Diff line number Diff line change @@ -380,8 +380,6 @@ export const resetDemo = async () => {
380380 purchaseId : string ;
381381 }
382382
383- const currentDir = process . cwd ( ) ;
384-
385383 const csvIssues : CsvIssue [ ] = parse (
386384 readFileSync ( `${ csvPath } demo_issues.csv` ) ,
387385 { columns : true } ,
You can’t perform that action at this time.
0 commit comments