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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user