Skip to content

Commit

Permalink
Remove unnecessary whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: shevijacobson <[email protected]>
  • Loading branch information
Shevijacobson committed Oct 29, 2024
1 parent d413243 commit 9a60638
Showing 1 changed file with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const ApplicationsTable: React.FC = () => {
selectedFormat === "json" ? "application/json" : "application/x-yaml",
});
const url = URL.createObjectURL(blob);
const downloadLink = document.createElement("a"); // שינוי שם למשתנה
const downloadLink = document.createElement("a");
downloadLink.href = url;
downloadLink.download = `logs - ${ids}.${selectedFormat}`;
document.body.appendChild(downloadLink);
Expand Down Expand Up @@ -1366,30 +1366,25 @@ export const ApplicationsTable: React.FC = () => {
onClose={() => setIsDownloadModalOpen(false)}
>
<FormGroup label="Select Format" fieldId="format-select">
{" "}
<div>
{" "}
<Button
variant={selectedFormat === "json" ? "primary" : "secondary"}
onClick={() => setSelectedFormat("json")}
>
{" "}
{<CodeIcon />} JSON{" "}
</Button>{" "}
{<CodeIcon />} JSON
</Button>
<Button
variant={selectedFormat === "yaml" ? "primary" : "secondary"}
onClick={() => setSelectedFormat("yaml")}
>
{" "}
{<CodeIcon />} YAML{" "}
</Button>{" "}
</div>{" "}
<p>Selected Format: {selectedFormat}</p>{" "}
</FormGroup>{" "}
{<CodeIcon />} YAML
</Button>
</div>
<p>Selected Format: {selectedFormat}</p>
</FormGroup>
<Button variant="primary" onClick={handleDownload}>
{" "}
{t("actions.download")}{" "}
</Button>{" "}
{t("actions.download")}
</Button>
</Modal>
</ConditionalRender>
);
Expand Down

0 comments on commit 9a60638

Please sign in to comment.