Skip to content

Commit

Permalink
fix: only change favicon after update
Browse files Browse the repository at this point in the history
  • Loading branch information
jic999 committed Jan 22, 2024
1 parent c0d9bfc commit 3f87063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/components/SiteModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function handleCommit() {
}
// 更新图标
if (modalStore.target === 'site') {
if (modalStore.target === 'site' && modalStore.action === 'update') {
const site = siteStore.getCurrentSite()
const favicon = faviconMap.value.get(site.id)!
Expand Down

0 comments on commit 3f87063

Please sign in to comment.