mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
fix(export): hide scope card for single dialog
This commit is contained in:
@@ -6259,19 +6259,21 @@ function ExportPage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="dialog-body">
|
<div className="dialog-body">
|
||||||
<div className="dialog-section">
|
{exportDialog.scope !== 'single' && (
|
||||||
<h4>导出范围</h4>
|
<div className="dialog-section">
|
||||||
<div className="scope-tag-row">
|
<h4>导出范围</h4>
|
||||||
<span className="scope-tag">{scopeLabel}</span>
|
<div className="scope-tag-row">
|
||||||
<span className="scope-count">{scopeCountLabel}</span>
|
<span className="scope-tag">{scopeLabel}</span>
|
||||||
|
<span className="scope-count">{scopeCountLabel}</span>
|
||||||
|
</div>
|
||||||
|
<div className="scope-list">
|
||||||
|
{exportDialog.sessionNames.slice(0, 20).map(name => (
|
||||||
|
<span key={name} className="scope-item">{name}</span>
|
||||||
|
))}
|
||||||
|
{exportDialog.sessionNames.length > 20 && <span className="scope-item">... 还有 {exportDialog.sessionNames.length - 20} 个</span>}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="scope-list">
|
)}
|
||||||
{exportDialog.sessionNames.slice(0, 20).map(name => (
|
|
||||||
<span key={name} className="scope-item">{name}</span>
|
|
||||||
))}
|
|
||||||
{exportDialog.sessionNames.length > 20 && <span className="scope-item">... 还有 {exportDialog.sessionNames.length - 20} 个</span>}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{shouldShowFormatSection && (
|
{shouldShowFormatSection && (
|
||||||
<div className="dialog-section">
|
<div className="dialog-section">
|
||||||
|
|||||||
Reference in New Issue
Block a user