mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:03:09 +02:00
clean up
This commit is contained in:
parent
57f5df2d22
commit
572000f868
4 changed files with 0 additions and 8 deletions
|
@ -30,8 +30,6 @@ const props = defineProps<{
|
||||||
raw?: boolean;
|
raw?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
console.log(MediaList.toString)
|
|
||||||
|
|
||||||
const gallery = ref(null);
|
const gallery = ref(null);
|
||||||
const pswpZIndex = os.claimZIndex('middle');
|
const pswpZIndex = os.claimZIndex('middle');
|
||||||
|
|
||||||
|
|
|
@ -56,8 +56,6 @@ async function renderChart() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
fetching = false;
|
fetching = false;
|
||||||
|
|
||||||
await nextTick();
|
await nextTick();
|
||||||
|
|
|
@ -154,7 +154,6 @@ function queryKey() {
|
||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
signing = true;
|
signing = true;
|
||||||
console.log('submit');
|
|
||||||
if (!totpLogin && user && user.twoFactorEnabled) {
|
if (!totpLogin && user && user.twoFactorEnabled) {
|
||||||
if (window.PublicKeyCredential && user.securityKeys) {
|
if (window.PublicKeyCredential && user.securityKeys) {
|
||||||
os.api('signin', {
|
os.api('signin', {
|
||||||
|
|
|
@ -38,14 +38,11 @@ const init = async () => {
|
||||||
getAccounts().then(accounts => {
|
getAccounts().then(accounts => {
|
||||||
storedAccounts.value = accounts.filter(x => x.id !== $i!.id);
|
storedAccounts.value = accounts.filter(x => x.id !== $i!.id);
|
||||||
|
|
||||||
console.log(storedAccounts.value);
|
|
||||||
|
|
||||||
return os.api('users/show', {
|
return os.api('users/show', {
|
||||||
userIds: storedAccounts.value.map(x => x.id),
|
userIds: storedAccounts.value.map(x => x.id),
|
||||||
});
|
});
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
accounts.value = response;
|
accounts.value = response;
|
||||||
console.log(accounts.value);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue