Update to Profectus 0.7 #1

Merged
thepaperpilot merged 110 commits from feat/board-feature-rewrite into main 2024-12-31 13:27:34 +00:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 44cdb70919 - Show all commits

View file

@ -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() {

View file

@ -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"];