@agent-link/server 0.1.142 → 0.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app.js +7 -6
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -660,8 +660,9 @@ const App = {
|
|
|
660
660
|
return d.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit', second: '2-digit' });
|
|
661
661
|
},
|
|
662
662
|
getTaskAgent(task) {
|
|
663
|
-
|
|
664
|
-
|
|
663
|
+
const assignee = task.assignee || task.assignedTo;
|
|
664
|
+
if (!assignee) return null;
|
|
665
|
+
return team.findAgent(assignee);
|
|
665
666
|
},
|
|
666
667
|
viewAgentWithHistory(agentId) {
|
|
667
668
|
team.viewAgent(agentId);
|
|
@@ -1166,8 +1167,8 @@ const App = {
|
|
|
1166
1167
|
<div class="team-task-title">{{ task.title }}</div>
|
|
1167
1168
|
<div v-if="task.description" class="team-task-desc team-task-desc-clamp" @click.stop="$event.target.classList.toggle('team-task-desc-expanded')">{{ task.description }}</div>
|
|
1168
1169
|
<div v-if="getTaskAgent(task)" class="team-task-assignee">
|
|
1169
|
-
<span class="team-agent-dot" :style="{ background: getAgentColor(task.assignedTo) }"></span>
|
|
1170
|
-
{{ getTaskAgent(task).name || task.assignedTo }}
|
|
1170
|
+
<span class="team-agent-dot" :style="{ background: getAgentColor(task.assignee || task.assignedTo) }"></span>
|
|
1171
|
+
{{ getTaskAgent(task).name || task.assignee || task.assignedTo }}
|
|
1171
1172
|
</div>
|
|
1172
1173
|
</div>
|
|
1173
1174
|
<div v-if="activeTasks.length === 0" class="team-kanban-empty">No tasks</div>
|
|
@@ -1184,8 +1185,8 @@ const App = {
|
|
|
1184
1185
|
<div class="team-task-title">{{ task.title }}</div>
|
|
1185
1186
|
<div v-if="task.description" class="team-task-desc team-task-desc-clamp" @click.stop="$event.target.classList.toggle('team-task-desc-expanded')">{{ task.description }}</div>
|
|
1186
1187
|
<div v-if="getTaskAgent(task)" class="team-task-assignee">
|
|
1187
|
-
<span class="team-agent-dot" :style="{ background: getAgentColor(task.assignedTo) }"></span>
|
|
1188
|
-
{{ getTaskAgent(task).name || task.assignedTo }}
|
|
1188
|
+
<span class="team-agent-dot" :style="{ background: getAgentColor(task.assignee || task.assignedTo) }"></span>
|
|
1189
|
+
{{ getTaskAgent(task).name || task.assignee || task.assignedTo }}
|
|
1189
1190
|
</div>
|
|
1190
1191
|
</div>
|
|
1191
1192
|
<div v-if="doneTasks.length === 0" class="team-kanban-empty">No tasks</div>
|