Commit c60e24c6 authored by Florent Chehab's avatar Florent Chehab

Fixed importance level display

parent ae856352
import React from 'react';
import NotificationImportantIcon from '@material-ui/icons/NotificationImportant';
import Typography from '@material-ui/core/Typography';
import classNames from 'classnames';
export default function renderTitle(rawModelData, classes, buildTitle) {
const { importanceLevel } = rawModelData;
const importanceLevel = rawModelData.importance_level;
const title = buildTitle(rawModelData)
if (title) {
if (importanceLevel && importanceLevel != '-') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment