Commit 9d87491 1 parent bacb25b commit 9d87491 Copy full SHA for 9d87491
File tree 1 file changed +12
-9
lines changed
app/(website)/(pages)/_components
1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -179,15 +179,18 @@ const SessionPopup = ({ openSessionId }: { openSessionId: string | null }) => {
179
179
>
180
180
即時提問
181
181
</ button >
182
- < button
183
- onClick = { ( ) => {
184
- if ( session . slide )
185
- window . open ( session . slide , "_blank" ) ;
186
- } }
187
- className = "flex-grow text-nowrap rounded-full bg-[#B9D3E6] px-3 py-2 text-center text-[16px] font-bold transition-colors hover:bg-[#A1C7E0]"
188
- >
189
- 簡報連結
190
- </ button >
182
+ { session . slide && (
183
+ < button
184
+ onClick = { ( ) => {
185
+ if ( session . slide )
186
+ window . open ( session . slide , "_blank" ) ;
187
+ } }
188
+ className = "flex-grow text-nowrap rounded-full bg-[#B9D3E6] px-3 py-2 text-center text-[16px] font-bold transition-colors hover:bg-[#A1C7E0]"
189
+ >
190
+ 簡報連結
191
+ </ button >
192
+ ) }
193
+
191
194
< button
192
195
onClick = { ( ) => {
193
196
if ( session . co_write )
You can’t perform that action at this time.
0 commit comments