Skip to content
Commits on Source (7)
......@@ -190,6 +190,20 @@ deploy:production:
script:
- curl -X POST "${DEPLOY_URL}?tag=${CI_COMMIT_TAG}"
deploy:staging:
stage: deploy
environment:
name: Production
url: https://staging.alboneon.xyz
needs:
- docker:staging
rules:
- if: $CI_COMMIT_TAG =~ /^[vV](\d+)\.(\d+)\.(\d+)-?([a-zA-Z-\d\.]*)\+?([a-zA-Z-\d\.]*)$/
before_script:
- apk add curl
script:
- curl -X POST "${STAGING_DEPLOY_URL}?tag=${CI_COMMIT_TAG}-staging"
release:
image: registry.pentacore.se/toolbox/semantic-release-image:main
stage: release
......
## [0.8.3](https://gitlab.pentacore.se/penta/alboneon/compare/v0.8.2...v0.8.3) (2022-10-20)
### Bug Fixes
* **client:** [#41](https://gitlab.pentacore.se/penta/alboneon/issues/41) Fix ValueComponent only showing total ([429e10d](https://gitlab.pentacore.se/penta/alboneon/commit/429e10dd121361970b128b0d396913cf40e5550c))
* **client:** [#42](https://gitlab.pentacore.se/penta/alboneon/issues/42) Fix TemplateAutocomplete crashes the page when clicking ([a9e5a66](https://gitlab.pentacore.se/penta/alboneon/commit/a9e5a66a2e8699913b58d9b89bcdd19d41cc7139))
* **client:** state shouldn't have a property with the same name as a module ([06d44d2](https://gitlab.pentacore.se/penta/alboneon/commit/06d44d216c9c3853678650fb3fe3893b8c68cf17))
## [0.8.2](https://gitlab.pentacore.se/penta/alboneon/compare/v0.8.1...v0.8.2) (2022-10-20)
......
{
"name": "alboneon",
"version": "0.8.2",
"version": "0.8.3",
"description": "A Pen & Paper party management system",
"main": "index.js",
"repository": "https://github.com/pentacore/RPG.git",
......
......@@ -41,8 +41,8 @@
outlined
label="Templates" :loading="loading"
@input="setItemName">
<template #item="{i}">
{{ i.name }} - {{ i.value }} gp - {{ i.weight }} lb
<template #item="{item}">
{{ item.name }} - {{ item.value }} gp - {{ item.weight }} lb
</template>
</VAutocomplete>
</VCol>
......@@ -177,10 +177,11 @@ export default Vue.extend({
})
},
setItemName(value: KnownItem | string | null): void {
console.log(value)
if (value === null) {
return
}
if (typeof value !== 'string') {
if (typeof value !== 'string' && value) {
this.saveAsKnownItem = false
this.item.name = value.name
this.item.value = value.value
......
<template>
<div :style="{'font-size': fontSize}">
<template v-if="(variant === values.all || variant.includes(values.coinage)) && $store.getters.coinValue">
<template v-if="(variant === values.all || variant.includes(values.coinage)) && coinValue">
<VRow v-if="multiLine" dense class="py-0">
<VCol class="py-0">
Coinage: {{ coinValue }}
......@@ -10,7 +10,7 @@
Coinage: {{ coinValue }}
</template>
</template>
<template v-if="(variant === values.all || variant.includes(values.valuables)) && $store.getters.inventoryValue">
<template v-if="(variant === values.all || variant.includes(values.valuables)) && inventoryValue">
<VRow v-if="multiLine" dense class="py-0">
<VCol class="py-0">
Valuables: {{ inventoryValue }}
......
import {Interfaces} from "@alboneon/library/types/Interfaces";
export const state = () => ({
party:<Interfaces.Party>{}
})
export type RootState = ReturnType<typeof state>
export const state = () => {}
export type RootState = {party:Interfaces.Party}
export const getters = {}
export const mutations = {}
......
......@@ -196,14 +196,13 @@ export namespace WS {
ADD_QUEST, REMOVE_QUEST, UPDATE_QUEST,
ADD_NPC, REMOVE_NPC, UPDATE_NPC,
ADD_INVENTORY, REMOVE_INVENTORY, UPDATE_INVENTORY,
ADD_JOURNAL_ENTRY, REMOVE_JOURNAL_ENTRY, UPDATE_JOURNAL_ENTRY,
UPDATE_COINAGE,
UPDATE_SETTINGS,
FETCH_PARTY,
TRANSFER,
ADD_JOURNAL_ENTRY, REMOVE_JOURNAL_ENTRY, UPDATE_JOURNAL_ENTRY,
ERROR,
UPDATE_PARTY,
}
export class Transfer<T> extends WebsocketCommandInterface<T> {
......