Explorar o código

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

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
9fd9b12fd9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/components/channel/ChannelSentDiff.tsx

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

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