feat: migrate recipe editor
- using eventbus in recipe editor - migrate to logging instead of console log - fix case swap not saved, value not update after change, topping slot bug Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
270faf6b34
commit
f0619c5a10
65 changed files with 1600 additions and 557 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<script lang="ts">
|
||||
<script lang="ts">import { logger } from '$lib/core/utils/logger';
|
||||
|
||||
import RecipeModuleBtn from '$lib/assets/modules/recipe_btn.png';
|
||||
import MachineInspectBtn from '$lib/assets/modules/monitoring_btn.png';
|
||||
import SheetModuleBtn from '$lib/assets/modules/sheet_btn.png';
|
||||
|
|
@ -40,7 +41,7 @@
|
|||
|
||||
onMount(() => {
|
||||
return currentPermissions.subscribe((perm) => {
|
||||
console.log('sub get perm', JSON.stringify(perm));
|
||||
logger.info('sub get perm', JSON.stringify(perm));
|
||||
if (perm.length > 0) {
|
||||
perms = perm;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue