Browse Source

fix: change info tag color to blue and encode stream path

Jacky 1 month ago
parent
commit
c13cdea397

+ 1 - 1
app/src/views/notification/notificationColumns.tsx

@@ -25,7 +25,7 @@ const columns: Column[] = [{
     }
     else if (args.text === NotificationTypeT.Info) {
       return (
-        <Tag color="info">
+        <Tag color="blue">
           {$gettext('Info')}
         </Tag>
       )

+ 1 - 1
app/src/views/stream/StreamList.vue

@@ -197,7 +197,7 @@ function handleBatchUpdated() {
         env_group_id: envGroupId,
       }"
       @click-edit="r => $router.push({
-        path: `/streams/${r}`,
+        path: `/streams/${encodeURIComponent(r)}`,
       })"
       @click-batch-modify="handleClickBatchEdit"
     >