Browse Source

defaultValue={important ? "all" : "new"}

visuddhinanda 2 years ago
parent
commit
9fd9b12fd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/channel/ChannelSentDiff.tsx

+ 1 - 1
dashboard/src/components/channel/ChannelSentDiff.tsx

@@ -131,7 +131,7 @@ const ChannelSentDiffWidget = ({
           上一步
         </Button>
         <Select
-          defaultValue={"new"}
+          defaultValue={important ? "all" : "new"}
           style={{ width: 180 }}
           disabled={important}
           onChange={(value: string) => {