+ closes #136
+ display player errors in ui
This commit is contained in:
Shiny Nematoda 2023-08-30 09:03:08 +00:00
parent f5f6ded8b1
commit 452f66a19c
8 changed files with 374 additions and 360 deletions

View file

@ -23,7 +23,8 @@ const { t, setupLocale } = useI18n(),
hypInstances = ref([]),
next = ref(false),
compact = ref(false),
prm = ref(false);
prm = ref(false),
cc = ref(false);
getJson('https://piped-instances.kavin.rocks')
.then(i => i || getJson('https://instances.tokhmi.xyz'))
@ -116,6 +117,7 @@ onMounted(() => {
getStoreBool('next', next, true);
getStoreBool('compact', compact, false);
getStoreBool('prm', prm, false);
getStoreBool('cc', cc, false);
});
</script>
@ -168,6 +170,17 @@ onMounted(() => {
</option>
</select>
<div class="left">
<input
type="checkbox"
name="pref-chk-cc"
id="pref-chk-cc"
class="input"
@change="setStore('to_cc', $event.target.checked)"
v-model="cc" />
<label for="pref-chk-cc">{{ t('pref.cc') }}</label>
</div>
<h2>{{ t('pref.tab') }}</h2>
<select