Merged the AssetAssignment collection with the Asset collection; Updated views for assigning assets; Added view to find asset assignments by assetId.
This commit is contained in:
@@ -5,12 +5,13 @@
|
||||
import Sites from "/imports/ui/Admin/Sites.svelte";
|
||||
import Students from "/imports/ui/Admin/Students.svelte";
|
||||
import Staff from "/imports/ui/Admin/Staff.svelte";
|
||||
import Functions from "/imports/ui/Admin/Functions.svelte";
|
||||
|
||||
let activeTab = "Sites";
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<TabBar tabs={['Sites','Students','Staff','Asset Types']} minWidth let:tab bind:active={activeTab}>
|
||||
<TabBar tabs={['Sites','Students','Staff','Asset Types', 'Functions']} minWidth let:tab bind:active={activeTab}>
|
||||
<Tab {tab}>
|
||||
<Label>{tab}</Label>
|
||||
</Tab>
|
||||
@@ -23,6 +24,8 @@
|
||||
<Staff></Staff>
|
||||
{:else if activeTab === 'Asset Types'}
|
||||
<AssetTypes></AssetTypes>
|
||||
{:else if activeTab === 'Functions'}
|
||||
<Functions></Functions>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user