Skip to content

Commit

Permalink
chore: maybe fix stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jul 6, 2023
1 parent a2c4ee1 commit 959f344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/routes/sitemap.xsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineEventHandler(async (e) => {

const showTips = process.dev && moduleConfig.xslTips !== false
let columns = [...moduleConfig.xslColumns!]
if (!columns) {
if (!columns.length) {
columns = [
{ label: 'URL', width: '50%' },
{ label: 'Images', width: '25%', select: 'count(image:image)' },
Expand Down

0 comments on commit 959f344

Please sign in to comment.