diff --git a/frontend/src/css/font1.woff2 b/frontend/src/css/font1.woff2 new file mode 100644 index 00000000..ecc0a77d Binary files /dev/null and b/frontend/src/css/font1.woff2 differ diff --git a/frontend/src/css/font2.woff2 b/frontend/src/css/font2.woff2 new file mode 100644 index 00000000..81bd7f78 Binary files /dev/null and b/frontend/src/css/font2.woff2 differ diff --git a/frontend/src/css/font3.woff2 b/frontend/src/css/font3.woff2 new file mode 100644 index 00000000..18c97b06 Binary files /dev/null and b/frontend/src/css/font3.woff2 differ diff --git a/frontend/src/css/font4.woff2 b/frontend/src/css/font4.woff2 new file mode 100644 index 00000000..786e79a0 Binary files /dev/null and b/frontend/src/css/font4.woff2 differ diff --git a/frontend/src/css/font5.woff2 b/frontend/src/css/font5.woff2 new file mode 100644 index 00000000..695aa98b Binary files /dev/null and b/frontend/src/css/font5.woff2 differ diff --git a/frontend/src/css/nunito.css b/frontend/src/css/nunito.css new file mode 100644 index 00000000..bbf07d1d --- /dev/null +++ b/frontend/src/css/nunito.css @@ -0,0 +1,40 @@ +/* cyrillic-ext */ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + src: url('./font1.woff2') format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + src: url('./font2.woff2') format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + src: url('./font3.woff2') format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + src: url('./font4.woff2') format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + src: url('./font5.woff2') format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/frontend/src/index.css b/frontend/src/index.css index 43ec82ff..793c42e5 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css?family=Nunito+Sans'); +@import url('./css/nunito.css'); body { margin: 0; diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx index 02dc154d..b74468e4 100644 --- a/frontend/src/views/AngularWorkflow.jsx +++ b/frontend/src/views/AngularWorkflow.jsx @@ -6362,6 +6362,8 @@ const AngularWorkflow = (props) => { "value": e.target.value.id, } } + + setWorkflow(workflow) } console.log("STARTNODE: ", startnode) } else { @@ -6445,7 +6447,7 @@ const AngularWorkflow = (props) => { } } - if (workflow.id == subworkflow.id) { + if (workflow.id === subworkflow.id) { const cybranch = { group: "edges", source: newbranch.source_id,