@nethserver/ns8-ui-lib 0.1.24 → 0.1.26

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.
@@ -155,7 +155,6 @@ import MailAll32 from '@carbon/icons-vue/es/mail--all/32';
155
155
  import CloudUpload16 from '@carbon/icons-vue/es/cloud--upload/16';
156
156
  import CloudUpload20 from '@carbon/icons-vue/es/cloud--upload/20';
157
157
  import CloudUpload32 from '@carbon/icons-vue/es/cloud--upload/32';
158
- import CloudUpload64 from '@carbon/icons-vue/es/cloud--upload/64';
159
158
  import CvSideNavDivider from '@carbon/vue/src/components/cv-ui-shell/cv-side-nav-divider.vue';
160
159
  import Search16 from '@carbon/icons-vue/es/search/16';
161
160
  import Close16 from '@carbon/icons-vue/es/close/16';
@@ -8719,7 +8718,6 @@ var __vue_component__$S = __vue_component__$R;
8719
8718
  * Copyright (C) 2023 Nethesis S.r.l.
8720
8719
  * SPDX-License-Identifier: GPL-3.0-or-later
8721
8720
  */
8722
-
8723
8721
  var IconService = {
8724
8722
  name: "IconService",
8725
8723
 
@@ -8919,8 +8917,7 @@ var IconService = {
8919
8917
  CloudUpload16,
8920
8918
  // file upload
8921
8919
  CloudUpload20,
8922
- CloudUpload32,
8923
- CloudUpload64
8920
+ CloudUpload32
8924
8921
  };
8925
8922
  }
8926
8923
 
@@ -24351,20 +24348,9 @@ var task = {
24351
24348
  },
24352
24349
 
24353
24350
  getTaskStatusDescription(task, rootTask = true) {
24354
- let taskLabel = task.context.action; // use taskName instead of action, if available
24355
-
24356
- if (task.context.extra && task.context.extra.taskName) {
24357
- taskLabel = task.context.extra.taskName;
24358
- }
24359
-
24351
+ const agent = task.context.queue ? task.context.queue.split("/tasks")[0] : "cluster";
24352
+ const taskLabel = `${agent}/${task.context.action}`;
24360
24353
  const taskOrSubtask = rootTask ? "task" : "subtask";
24361
- let taskPrefix = "";
24362
-
24363
- if (task.result && task.result.file) {
24364
- taskPrefix = task.result.file.split("task/")[0];
24365
- }
24366
-
24367
- taskLabel = taskPrefix + taskLabel;
24368
24354
 
24369
24355
  switch (task.status) {
24370
24356
  case "aborted":