mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
World search community labs tick box
This commit is contained in:
+4
-2
@@ -6256,6 +6256,8 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$app.data.searchWorldLabs = false;
|
||||||
|
|
||||||
$app.methods.searchWorld = function (ref) {
|
$app.methods.searchWorld = function (ref) {
|
||||||
this.searchWorldOption = '';
|
this.searchWorldOption = '';
|
||||||
var params = {
|
var params = {
|
||||||
@@ -6309,8 +6311,8 @@ speechSynthesis.getVoices();
|
|||||||
params.user = 'me';
|
params.user = 'me';
|
||||||
params.releaseStatus = 'all';
|
params.releaseStatus = 'all';
|
||||||
}
|
}
|
||||||
if (ref.tag) {
|
if (!this.searchWorldLabs) {
|
||||||
params.tag = ref.tag;
|
params.tag = 'system_approved';
|
||||||
}
|
}
|
||||||
// TODO: option.platform
|
// TODO: option.platform
|
||||||
this.searchWorldParams = params;
|
this.searchWorldParams = params;
|
||||||
|
|||||||
@@ -218,6 +218,7 @@ html
|
|||||||
el-button(size="small") Search by Category #[i.el-icon-arrow-down.el-icon--right]
|
el-button(size="small") Search by Category #[i.el-icon-arrow-down.el-icon--right]
|
||||||
el-dropdown-menu(#default="dropdown")
|
el-dropdown-menu(#default="dropdown")
|
||||||
el-dropdown-item(v-for="row in API.cachedConfig.dynamicWorldRows" :key="row.index" v-text="row.name" :command="row")
|
el-dropdown-item(v-for="row in API.cachedConfig.dynamicWorldRows" :key="row.index" v-text="row.name" :command="row")
|
||||||
|
el-checkbox(v-model="searchWorldLabs" style="margin-left:10px") Include community labs
|
||||||
.x-friend-list
|
.x-friend-list
|
||||||
.x-friend-item(v-for="world in searchWorldResults" :key="world.id" @click="showWorldDialog(world.id)")
|
.x-friend-item(v-for="world in searchWorldResults" :key="world.id" @click="showWorldDialog(world.id)")
|
||||||
template(v-once)
|
template(v-once)
|
||||||
|
|||||||
Reference in New Issue
Block a user