mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 08:16:28 +00:00
changelog
This commit is contained in:
parent
8e6ef5e2f6
commit
d84475ffe9
20
CHANGELOG.md
Normal file
20
CHANGELOG.md
Normal file
@ -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
|
@ -40,7 +40,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
async function show() {
|
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) {
|
if (needPassword) {
|
||||||
try {
|
try {
|
||||||
const key = await getKeyFromString(password)
|
const key = await getKeyFromString(password)
|
||||||
@ -74,7 +74,11 @@
|
|||||||
<Button type="submit">show note</Button>
|
<Button type="submit">show note</Button>
|
||||||
{#if error}
|
{#if error}
|
||||||
<br />
|
<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}
|
{/if}
|
||||||
</form>
|
</form>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user