Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
cupcakearmy committed May 2, 2021
1 parent 8e6ef5e commit d84475f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2021-05-02

### Added

- Dark mode support

### Fixed

- Don't reload data on wrong password

## [1.0.0] - 2021-05-02

Initial release
8 changes: 6 additions & 2 deletions client/src/routes/note/[id].svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
})
async function show() {
const data = await get(id)
const data = note || (await get(id)) // Don't get the content twice on wrong password.
if (needPassword) {
try {
const key = await getKeyFromString(password)
Expand Down Expand Up @@ -74,7 +74,11 @@
<Button type="submit">show note</Button>
{#if error}
<br />
<p class="error-text">wrong password. could not decipher.</p>
<p class="error-text">
wrong password. could not decipher.
<br />
note already destroyed. try again without reloading the page.
</p>
{/if}
</form>
{/if}
Expand Down

0 comments on commit d84475f

Please sign in to comment.