items != props

This commit is contained in:
Natsumi
2025-06-17 13:00:43 +12:00
parent 36ff0463bf
commit e06412d07b
7 changed files with 24 additions and 8 deletions

View File

@@ -67,6 +67,10 @@
<el-checkbox v-model="setWorldTagsDialog.drones">
{{ $t('dialog.new_instance.content_drones') }}
</el-checkbox>
<br />
<el-checkbox v-model="setWorldTagsDialog.props">
{{ $t('dialog.new_instance.content_items') }}
</el-checkbox>
<template #footer>
<div style="display: flex">
<el-button size="small" @click="setWorldTagsDialog.visible = false">
@@ -121,7 +125,8 @@
stickers: true,
pedestals: true,
prints: true,
drones: true
drones: true,
props: true
}
};
},
@@ -203,6 +208,9 @@
case 'feature_drones_disabled':
D.drones = false;
break;
case 'feature_props_disabled':
D.props = false;
break;
}
});
D.authorTags = authorTags.toString();
@@ -272,6 +280,9 @@
if (!D.drones) {
tags.unshift('feature_drones_disabled');
}
if (!D.props) {
tags.unshift('feature_props_disabled');
}
worldRequest
.saveWorld({
id: this.worldId,

View File

@@ -267,7 +267,7 @@
{{ $t('dialog.world.actions.change_preview') }}
</el-dropdown-item>
<el-dropdown-item icon="el-icon-edit" command="Change Tags">
{{ $t('dialog.world.actions.change_tags') }}
{{ $t('dialog.world.actions.change_warnings_settings_tags') }}
</el-dropdown-item>
<el-dropdown-item icon="el-icon-edit" command="Change Allowed Domains">
{{ $t('dialog.world.actions.change_allowed_video_player_domains') }}