mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
Fix default picture_output_split_by_date state
This commit is contained in:
@@ -14724,6 +14724,12 @@ console.log(`isLinux: ${LINUX}`);
|
||||
if (config) {
|
||||
try {
|
||||
this.VRChatConfigFile = JSON.parse(config);
|
||||
if (
|
||||
typeof this.VRChatConfigFile
|
||||
.picture_output_split_by_date === 'undefined'
|
||||
) {
|
||||
this.VRChatConfigFile.picture_output_split_by_date = true;
|
||||
}
|
||||
} catch {
|
||||
this.$message({
|
||||
message: 'Invalid JSON in config.json',
|
||||
|
||||
@@ -104,10 +104,7 @@ mixin settings
|
||||
:key='row.index'
|
||||
v-text='row.name'
|
||||
:command='row')
|
||||
el-checkbox(
|
||||
v-model='VRChatConfigFile.picture_output_split_by_date'
|
||||
style='margin-top: 5px; display: block'
|
||||
:checked='true') {{ $t('dialog.config_json.picture_sort_by_date') }}
|
||||
el-checkbox(v-model='VRChatConfigFile.picture_output_split_by_date' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.picture_sort_by_date') }}
|
||||
el-checkbox(v-model='VRChatConfigFile.disableRichPresence' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.disable_discord_presence') }}
|
||||
template(#footer)
|
||||
div(style='display: flex; align-items: center; justify-content: space-between')
|
||||
|
||||
Reference in New Issue
Block a user