mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 09:27:31 -07:00
changelog button test
This commit is contained in:
parent
ac3f04510f
commit
9092ed6f71
3 changed files with 10 additions and 1 deletions
|
@ -9,6 +9,7 @@ username: "Username"
|
|||
password: "Password"
|
||||
forgotPassword: "Forgot password"
|
||||
fetchingAsApObject: "Fetching from the Fediverse"
|
||||
changelog: "Changelog"
|
||||
ok: "OK"
|
||||
gotIt: "Got it!"
|
||||
cancel: "Cancel"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "iceshrimp",
|
||||
"version": "2023.12.7-jormungandr.18",
|
||||
"version": "2023.12.7-jormungandr.19",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://iceshrimp.dev/limepotato/jormungandr-bite.git"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<MkButton full @click="whatIsNew">{{ i18n.ts.changelog }}</MkButton>
|
||||
<MkButton
|
||||
:class="$style.gotIt"
|
||||
primary
|
||||
|
@ -40,9 +41,16 @@ import MkButton from "@/components/MkButton.vue";
|
|||
import { version } from "@/config";
|
||||
import { i18n } from "@/i18n";
|
||||
import * as os from "@/os";
|
||||
import MkLink from "./MkLink.vue";
|
||||
import Link from "./form/link.vue";
|
||||
|
||||
const modal = shallowRef<InstanceType<typeof MkModal>>();
|
||||
|
||||
const whatIsNew = () => {
|
||||
modal.value?.close();
|
||||
window.open(`https://iceshrimp.dev/limepotato/jormungandr/src/branch/main/jormungandr-changelog.md`, '_blank');
|
||||
};
|
||||
|
||||
let newRelease = $ref(false);
|
||||
let data = $ref(Object);
|
||||
|
||||
|
|
Loading…
Reference in a new issue