fix: add app_name to API response, fix UiSwitch binding in version pages
This commit is contained in:
@@ -663,14 +663,14 @@ onMounted(() => {
|
||||
</td>
|
||||
<td class="p-2 text-center">
|
||||
<UiSwitch
|
||||
:checked="formData.entry_files.includes(file.file_path)"
|
||||
@update:checked="toggleEntryFile(file.file_path)"
|
||||
:model-value="formData.entry_files.includes(file.file_path)"
|
||||
@update:model-value="toggleEntryFile(file.file_path)"
|
||||
/>
|
||||
</td>
|
||||
<td class="p-2 text-center">
|
||||
<UiSwitch
|
||||
:checked="formData.desktop_shortcut_files.includes(file.file_path)"
|
||||
@update:checked="toggleDesktopShortcut(file.file_path)"
|
||||
:model-value="formData.desktop_shortcut_files.includes(file.file_path)"
|
||||
@update:model-value="toggleDesktopShortcut(file.file_path)"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -585,14 +585,14 @@ onMounted(() => {
|
||||
</td>
|
||||
<td class="p-2 text-center">
|
||||
<UiSwitch
|
||||
:checked="formData.entry_files.includes(file.file_path)"
|
||||
@update:checked="toggleEntryFile(file.file_path)"
|
||||
:model-value="formData.entry_files.includes(file.file_path)"
|
||||
@update:model-value="toggleEntryFile(file.file_path)"
|
||||
/>
|
||||
</td>
|
||||
<td class="p-2 text-center">
|
||||
<UiSwitch
|
||||
:checked="formData.desktop_shortcut_files.includes(file.file_path)"
|
||||
@update:checked="toggleDesktopShortcut(file.file_path)"
|
||||
:model-value="formData.desktop_shortcut_files.includes(file.file_path)"
|
||||
@update:model-value="toggleDesktopShortcut(file.file_path)"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user