Update to Profectus 0.7 #1
2 changed files with 4 additions and 5 deletions
|
@ -53,7 +53,7 @@
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div>Time Played: {{ timePlayed }}</div>
|
<div>Time Played: {{ timePlayed }}</div>
|
||||||
<Info />
|
<InfoComponents />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
@ -77,7 +77,7 @@ const isOpen = ref(false);
|
||||||
|
|
||||||
const timePlayed = computed(() => formatTime(player.timePlayed));
|
const timePlayed = computed(() => formatTime(player.timePlayed));
|
||||||
|
|
||||||
const Info = () => infoComponents.map(f => render(f));
|
const InfoComponents = () => infoComponents.map(f => render(f));
|
||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
open() {
|
open() {
|
||||||
|
|
|
@ -16,10 +16,9 @@
|
||||||
|
|
||||||
<script setup lang="tsx">
|
<script setup lang="tsx">
|
||||||
import "components/common/features.css";
|
import "components/common/features.css";
|
||||||
import { isJSXElement, render } from "util/vue";
|
import { render } from "util/vue";
|
||||||
import { Component, isRef, unref } from "vue";
|
import { Component, unref } from "vue";
|
||||||
import { Achievement } from "./achievement";
|
import { Achievement } from "./achievement";
|
||||||
import { displayRequirements } from "game/requirements";
|
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
display: Achievement["display"];
|
display: Achievement["display"];
|
||||||
|
|
Loading…
Reference in a new issue