Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Jun 16, 2022
1 parent 3e2e907 commit 49eed27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package": {
"productName": "Blade Mail",
"version": "0.2.2"
"version": "1.0.0"
},
"build": {
"distDir": "../dist",
Expand Down
6 changes: 3 additions & 3 deletions src/components/EmailBodyTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function ensureEmailFileIsWritten(email: Email): Promise<string> {
}

export default function EmailBodyTabs({ email }: { email: Email }) {
const tabs = ["html", "html source", "text", "raw", 'links checker', 'SpamAssassin'];
const tabs = ["html", "html source", "text", "raw", 'links checker', 'Spam Assassin'];
const [activeTab, setActiveTab] = useState("html");

async function openInBrowser(browserName: 'google chrome' | 'firefox') {
Expand All @@ -56,7 +56,7 @@ export default function EmailBodyTabs({ email }: { email: Email }) {
className={`cursor-default rounded px-3 py-1 ${tab === activeTab ? "bg-white" : ""}`}
onClick={() => setActiveTab(tab)}
>
{tab !== 'SpamAssassin' ? tab.toUpperCase() : tab}
{tab !== 'Spam Assassin' ? tab.toUpperCase() : tab}
</li>
))}
</ul>
Expand Down Expand Up @@ -111,7 +111,7 @@ export default function EmailBodyTabs({ email }: { email: Email }) {
</div>

{/* spam assassin tab */}
<div className={activeTab === "SpamAssassin" ? "block" : "hidden"}>
<div className={activeTab === "Spam Assassin" ? "block" : "hidden"}>
<SpamAssassin email={email} />
</div>
</div>
Expand Down

0 comments on commit 49eed27

Please sign in to comment.