mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
Make decorating button show what layer is being/to be decorated
This commit is contained in:
parent
b18acbdcd2
commit
aed2bb93ae
1 changed files with 7 additions and 1 deletions
|
@ -335,7 +335,13 @@ const layer = createLayer(id, () => {
|
|||
const masteryReq = computed(() => Decimal.pow(2, masteredDays.value).times(30));
|
||||
const enterMasteryButton = createClickable(() => ({
|
||||
display: () => ({
|
||||
title: main.isMastery.value ? "Stop Decorating" : "Begin Decoration",
|
||||
title: `${main.isMastery.value ? "Stop Decorating" : "Begin Decorating"} ${
|
||||
Object.values(layers).find(
|
||||
layer =>
|
||||
unref((layer as any).mastered) === false &&
|
||||
!["Elves", "Management"].includes(unref(layer?.name ?? ""))
|
||||
)?.name
|
||||
}`,
|
||||
description: jsx(() => {
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Add table
Reference in a new issue