mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: logic
This commit is contained in:
1 parent
6a4aba84e2
commit
275b0f4cd3
2 files changed
+7
-9
No files matched your search
@@ -25,6 +25,11 @@
|
||||
|
||||
let parameters = $state([]);
|
||||
|
||||
const href =
|
||||
product === 'site'
|
||||
? 'https://appwrite.io/docs/products/sites/logs#log-details'
|
||||
: 'https://appwrite.io/docs/products/functions/develop#logging';
|
||||
|
||||
onMount(() => {
|
||||
try {
|
||||
// Add dummy base URL to parse relative paths
|
||||
@@ -47,12 +52,6 @@
|
||||
requestTab = 'headers';
|
||||
}
|
||||
});
|
||||
|
||||
let href = $derived(
|
||||
product === 'site'
|
||||
? 'https://appwrite.io/docs/products/sites/logs#log-details'
|
||||
: 'https://appwrite.io/docs/products/functions/develop#logging'
|
||||
);
|
||||
</script>
|
||||
|
||||
<Layout.Stack>
|
||||
|
||||
@@ -28,11 +28,10 @@
|
||||
|
||||
let responseTab: 'logs' | 'errors' | 'headers' | 'body' = $state('logs');
|
||||
|
||||
let href = $derived(
|
||||
const href =
|
||||
product === 'site'
|
||||
? 'https://appwrite.io/docs/products/sites/logs#log-details'
|
||||
: 'https://appwrite.io/docs/products/functions/develop#logging'
|
||||
);
|
||||
: 'https://appwrite.io/docs/products/functions/develop#logging';
|
||||
|
||||
onMount(() => {
|
||||
if (selectedLog?.errors) {
|
||||
|
||||
Reference in new issue
Block a user