Skip to content

Commit

Permalink
🐛 Fix(custom): fix gallery page url copy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuingsmile committed Nov 21, 2023
1 parent a235e07 commit 3063612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/pages/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ function handleClose () {
}
async function copy (item: ImgInfo) {
item.config = JSON.parse(JSON.stringify(item.config))
item.config = JSON.parse(JSON.stringify(item.config) || '{}')
const copyLink = await ipcRenderer.invoke(PASTE_TEXT, item)
const obj = {
title: $T('COPY_LINK_SUCCEED'),
Expand Down

0 comments on commit 3063612

Please sign in to comment.