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:
16
imports/ui/Admin/Functions.svelte
Normal file
16
imports/ui/Admin/Functions.svelte
Normal file
@@ -0,0 +1,16 @@
|
||||
<script>
|
||||
import Button, { Label } from '@smui/button';
|
||||
|
||||
const fixAssetAssignments = () => {
|
||||
Meteor.call('assets.fixAssetAssignments');
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
<Button variant="raised" touch on:click={fixAssetAssignments}>
|
||||
<Label style="color: white">Fix Assignments</Label>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user