Removed old asset assignment collection (delete from the db if you have it). Added proper history associated with assigning and unassigning. Need to still add events attached to a CB which then transition to the history when the CB is checked in.

This commit is contained in:
2022-08-16 16:08:12 -07:00
parent 1501a36801
commit 2b9825159b
10 changed files with 354 additions and 130 deletions

View File

@@ -4,12 +4,18 @@
const fixAssetAssignments = () => {
Meteor.call('assets.fixAssetAssignments');
}
const fixAssetCondition = () => {
Meteor.call('assets.fixAssetCondition');
}
</script>
<div class="container">
<Button variant="raised" touch on:click={fixAssetAssignments}>
<Label style="color: white">Fix Assignments</Label>
</Button>
<Button variant="raised" touch on:click={fixAssetCondition}>
<Label style="color: white">Fix Missing Asset Condition</Label>
</Button>
</div>
<style>