Skip to content

Instantly share code, notes, and snippets.

View highoncarbs's full-sized avatar
🏠
Working from home

Padam Sethia highoncarbs

🏠
Working from home
View GitHub Profile
const jsondata = {
"operator": "and",
"rules": [
{
"operator": "and",
"rules": [
{
"operator": "and",
"rules": [
{
checkRule(one, operator, two) {
if (operator == '==') {
return one == two
}
return false
},
getComputedStringFormula() {
let jsondata = this.json_dump_obj
let formula = "";
@highoncarbs
highoncarbs / mulitple_checks.json
Created September 26, 2023 05:14
Multiple If Confitons
{
"operator": "and",
"rules": [
{
"operator": "and",
"rules": [
{
"operator": "and",
"rules": [
{
<template>
<div class="">
<div class="level px-4 py-2 is-mobile is-hidden-desktop" style="border-bottom: 1px solid #dbdbdb">
<div class="level-left">
<figure class="image mt-1">
<!-- <img src="~assets/arraycase-b.svg" style="width:120px;" alt="" /> -->
</figure>
</div>
<div class="level-right">
<button class="button " @click="openSidebar = !openSidebar">