MCPcopy Create free account
hub / github.com/gotify/server / priorityColor

Function priorityColor

ui/src/message/Message.tsx:107–115  ·  view source on GitHub ↗
(priority: number)

Source from the content-addressed store, hash-verified

105}
106
107const priorityColor = (priority: number) => {
108 if (priority >= 4 && priority <= 7) {
109 return 'rgba(230, 126, 34, 0.7)';
110 } else if (priority > 7) {
111 return '#e74c3c';
112 } else {
113 return 'transparent';
114 }
115};
116
117const Message = ({
118 fDelete,

Callers 1

MessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…