Compare commits
No commits in common. "main" and "permissions-management" have entirely different histories.
main
...
permission
1 changed files with 3 additions and 5 deletions
|
@ -34,8 +34,7 @@
|
|||
<span class="theme-title" :style="{color:`${layout.complementaryColor}`}">
|
||||
{{ layout.displayName }}
|
||||
</span>
|
||||
<!-- this breaks if it's a nuxtimg, i don't know why -->
|
||||
<img class="layout-preview" :src="layout.previewImageUrl"></img>
|
||||
<NuxtImg class="layout-preview" :src="layout.previewImageUrl"></NuxtImg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -61,8 +60,8 @@ import { settingSave, settingsLoad } from '#imports';
|
|||
|
||||
const runtimeConfig = useRuntimeConfig()
|
||||
const baseURL = runtimeConfig.app.baseURL;
|
||||
const styleFolder = `${baseURL}/themes/style`
|
||||
const layoutFolder = `${baseURL}/themes/layout`
|
||||
const styleFolder = `${baseURL}themes/style`
|
||||
const layoutFolder = `${baseURL}themes/layout`
|
||||
|
||||
const timeFormatTextStrings = ["Auto", "12-Hour", "24-Hour"]
|
||||
|
||||
|
@ -116,7 +115,6 @@ async function parseTheme(url: string): Promise<Theme | void> {
|
|||
break
|
||||
case "previewImageUrl":
|
||||
previewImageUrl = `${layoutFolder}/${lineArray[1].trim()}`
|
||||
console.log(previewImageUrl)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue