mirror of
https://github.com/modrinth/code.git
synced 2026-09-05 06:19:11 +00:00
fix: unsaved changes not accounting for trim
This commit is contained in:
@@ -558,6 +558,8 @@ async function handleSave() {
|
||||
if (!canSave.value) return
|
||||
saving.value = true
|
||||
try {
|
||||
summary.value = summary.value.trim()
|
||||
|
||||
const hasPatchChanges = Object.keys(basePatchData.value).length > 0
|
||||
|
||||
if (hasPatchChanges) {
|
||||
|
||||
Reference in New Issue
Block a user