mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 18:53:47 +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) {
|
if (config) {
|
||||||
try {
|
try {
|
||||||
this.VRChatConfigFile = JSON.parse(config);
|
this.VRChatConfigFile = JSON.parse(config);
|
||||||
|
if (
|
||||||
|
typeof this.VRChatConfigFile
|
||||||
|
.picture_output_split_by_date === 'undefined'
|
||||||
|
) {
|
||||||
|
this.VRChatConfigFile.picture_output_split_by_date = true;
|
||||||
|
}
|
||||||
} catch {
|
} catch {
|
||||||
this.$message({
|
this.$message({
|
||||||
message: 'Invalid JSON in config.json',
|
message: 'Invalid JSON in config.json',
|
||||||
|
|||||||
@@ -104,10 +104,7 @@ mixin settings
|
|||||||
:key='row.index'
|
:key='row.index'
|
||||||
v-text='row.name'
|
v-text='row.name'
|
||||||
:command='row')
|
:command='row')
|
||||||
el-checkbox(
|
el-checkbox(v-model='VRChatConfigFile.picture_output_split_by_date' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.picture_sort_by_date') }}
|
||||||
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.disableRichPresence' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.disable_discord_presence') }}
|
el-checkbox(v-model='VRChatConfigFile.disableRichPresence' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.disable_discord_presence') }}
|
||||||
template(#footer)
|
template(#footer)
|
||||||
div(style='display: flex; align-items: center; justify-content: space-between')
|
div(style='display: flex; align-items: center; justify-content: space-between')
|
||||||
|
|||||||
Reference in New Issue
Block a user