mirror of
https://example.com
synced 2024-11-23 05:46:39 +09:00
fix: featured note is currently disabled
This commit is contained in:
parent
bdbecce61a
commit
3c931989c5
1 changed files with 10 additions and 9 deletions
|
@ -80,13 +80,13 @@
|
|||
{{ i18n.ts.reflectMayTakeTime }}</template
|
||||
></FormSwitch
|
||||
>
|
||||
<FormSwitch
|
||||
<!-- <FormSwitch
|
||||
v-model="$i.injectFeaturedNote"
|
||||
class="_formBlock"
|
||||
@update:modelValue="onChangeInjectFeaturedNote"
|
||||
>
|
||||
{{ i18n.ts.showFeaturedNotesInTimeline }}
|
||||
</FormSwitch>
|
||||
</FormSwitch> -->
|
||||
<!-- <FormSwitch v-model="reportError" class="_formBlock"
|
||||
>{{ i18n.ts.sendErrorReports
|
||||
}}<template #caption>{{
|
||||
|
@ -404,13 +404,14 @@ const openServerInfo = computed(
|
|||
defaultStore.makeGetterSetter("openServerInfo"),
|
||||
);
|
||||
|
||||
function onChangeInjectFeaturedNote(v) {
|
||||
os.api("i/update", {
|
||||
injectFeaturedNote: v,
|
||||
}).then((i) => {
|
||||
$i!.injectFeaturedNote = i.injectFeaturedNote;
|
||||
});
|
||||
}
|
||||
// This feature (along with injectPromo) is currently disabled
|
||||
// function onChangeInjectFeaturedNote(v) {
|
||||
// os.api("i/update", {
|
||||
// injectFeaturedNote: v,
|
||||
// }).then((i) => {
|
||||
// $i!.injectFeaturedNote = i.injectFeaturedNote;
|
||||
// });
|
||||
// }
|
||||
|
||||
watch(swipeOnDesktop, () => {
|
||||
defaultStore.set("swipeOnMobile", true);
|
||||
|
|
Loading…
Reference in a new issue