Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swag/swag-extension-store",
"version": "4.1.0",
"version": "4.1.1",
"description": "SWAG Extension Store",
"type": "shopware-platform-plugin",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class ExtensionStoreService {
}

public orderVariantsByPricePerMonth(variants: ExtensionVariant[]): ExtensionVariant[] {
return variants.sort((first, second) => {
return variants.toSorted((first, second) => {
const firstPrice = this.getPriceFromVariant(first, true);
const secondPrice = this.getPriceFromVariant(second, true);

Expand All @@ -30,7 +30,7 @@ export default class ExtensionStoreService {
return variants;
}

return variants.sort((first, second) => {
return variants.toSorted((first, second) => {
if (!first.duration || !second.duration) {
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/app/administration/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020", "DOM"],
"lib": ["ES2020", "DOM", "ES2023"],
"module": "commonjs",
"skipLibCheck": true,
"allowJs": true,
Expand Down
Loading