no data nico class.

master
Joshua Sigona 3 years ago
parent adf904dd5c
commit e08a2cfb82
  1. 2
      src/TestPanel.js

@ -63,7 +63,7 @@ function PageControl(p) {
function Class(p) { function Class(p) {
const CLASSES = p.GetData("class") const CLASSES = p.GetData("class")
const class_obj = CLASSES[p.name] const class_obj = CLASSES[p.name]
return class_obj?<><img alt="" src={process.env.PUBLIC_URL+class_obj.icon}/>{class_obj.name}</>:<></> return CLASSES!=="no data"?class_obj?<><img alt="" src={process.env.PUBLIC_URL+class_obj.icon}/>{class_obj.name}</>:<></>:<><img width="24" src={DisplayIcon("")}/>Nico</>
} }
function EditableClass(p){ function EditableClass(p){

Loading…
Cancel
Save