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