Skip to content
Snippets Groups Projects
Commit b39a2669 authored by Markus Escher's avatar Markus Escher
Browse files

fix Person picture (check for recordstate)

parent f9d1f640
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@ import("system.vars");
import("system.result");
import("system.neon");
if (vars.get("$this.value"))
result.string(vars.get("$this.value"));
else
result.string(vars.get("$param.AvatarText_param"));
\ No newline at end of file
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW) {
if (vars.get("$this.value"))
result.string(vars.get("$this.value"));
else
result.string(vars.get("$param.AvatarText_param"));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment