mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
style(export): soften non-text batch buttons
This commit is contained in:
@@ -5364,6 +5364,7 @@ function ExportPage() {
|
||||
? isSnsCardStatsLoading
|
||||
: false
|
||||
const isCardRunning = runningCardTypes.has(card.type)
|
||||
const isPrimaryCard = card.type === 'text'
|
||||
return (
|
||||
<div key={card.type} className="content-card">
|
||||
<div className="card-header">
|
||||
@@ -5393,7 +5394,7 @@ function ExportPage() {
|
||||
))}
|
||||
</div>
|
||||
<button
|
||||
className={`card-export-btn ${isCardRunning ? 'running' : ''}`}
|
||||
className={`card-export-btn ${isPrimaryCard ? 'primary' : 'secondary'} ${isCardRunning ? 'running' : ''}`}
|
||||
disabled={isCardRunning}
|
||||
onClick={() => {
|
||||
if (card.type === 'sns') {
|
||||
|
||||
Reference in New Issue
Block a user