mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
refactor: reactive collection header
This commit is contained in:
1 parent
5006612a9c
commit
22e0c815ec
1 file changed
+5
-5
+5
-5
@@ -6,11 +6,11 @@
|
||||
import { Cover, CoverTitle } from '$lib/layout';
|
||||
import { collection } from './store';
|
||||
|
||||
const projectId = $page.params.project;
|
||||
const databaseId = $page.params.database;
|
||||
const collectionId = $page.params.collection;
|
||||
const path = `/console/project-${projectId}/databases/database-${databaseId}/collection-${collectionId}`;
|
||||
const tabs = [
|
||||
$: projectId = $page.params.project;
|
||||
$: databaseId = $page.params.database;
|
||||
$: collectionId = $page.params.collection;
|
||||
$: path = `/console/project-${projectId}/databases/database-${databaseId}/collection-${collectionId}`;
|
||||
$: tabs = [
|
||||
{
|
||||
href: path,
|
||||
title: 'Documents',
|
||||
|
||||
Reference in new issue
Block a user