mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-04 14:21:35 +09:00
fix: separate publish domains with commas
This commit is contained in:
1 parent
8302d2f5ab
commit
77a19e9bdc
2 files changed
+2
-4
No files matched your search
@@ -326,9 +326,7 @@ test("lists each publish domain and copies the full loaded log", async () => {
|
||||
expect(document.body.textContent).toContain("first.example");
|
||||
expect(document.body.textContent).toContain("second.example");
|
||||
expect(document.body.textContent).toContain("third.example");
|
||||
expect(document.body.textContent).not.toContain(
|
||||
"first.example, second.example"
|
||||
);
|
||||
expect(document.body.textContent).toContain("first.example, second.example");
|
||||
const copyButton = document.body.querySelector<HTMLButtonElement>(
|
||||
'button[aria-label="Copy all reports"]'
|
||||
);
|
||||
|
||||
@@ -404,7 +404,7 @@ export const PublishDiagnosticsDialog = ({
|
||||
>
|
||||
<SectionTitleLabel>
|
||||
{item.domains.length > 0
|
||||
? item.domains.join(" · ")
|
||||
? item.domains.join(", ")
|
||||
: "Static export"}
|
||||
</SectionTitleLabel>
|
||||
</SectionTitle>
|
||||
|
||||
Reference in new issue
Block a user