Skip to content

Commit

Permalink
feat(playlist): Removed code smells.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianCArnold committed Nov 25, 2022
1 parent de4c9e8 commit 0af5201
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/store/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ export const itemsStore = defineStore('items', {
itemId: child.PlaylistItemId as string,
newIndex: index
});
return (await this.fetchAndAddPlaylist(
parent.Id as string
)) as BaseItemDto[];
return await this.fetchAndAddPlaylist(parent.Id as string);
},
addPlaylist(parent: BaseItemDto, children: BaseItemDto[]): BaseItemDto[] {
if (!parent.Id) {
Expand Down

0 comments on commit 0af5201

Please sign in to comment.