datafeed fixes; line drawing fix

This commit is contained in:
tim
2024-09-03 23:34:03 -04:00
parent bdad4c7257
commit 5afdc83957
9 changed files with 80 additions and 68 deletions

View File

@@ -23,7 +23,7 @@ const emit = defineEmits(['update:modelValue'])
const hideDetails = true
const now = computed(()=>DateTime.fromSeconds(props.modelValue).setZone(s.timeZone))
const now = computed(()=>DateTime.fromSeconds(props.modelValue?props.modelValue:0).setZone(s.timeZone))
const year = computed({
get() { return now.value.year },

View File

@@ -45,7 +45,7 @@ function withdraw() {
const vaultAddr = props.vault
const valueStr = floatAmount.value.toString();
const amount = FixedNumber.fromString(valueStr,{decimals:props.token.d, width:256, signed: false}).value;
console.log('pending withdrawl', valueStr, amount, props.token.s)
console.log('pending withdrawal', valueStr, amount, props.token.s)
if( amount === 0n )
return
pendTransaction(async (signer)=>{

View File

@@ -148,6 +148,7 @@ const rungsDisabled = computed(()=>endpoints.value[0]===null)
const values = computed(()=>{
let [a, b] = endpoints.value
// console.log('generating values for endpoints', a, b)
a = vectorize(a)
b = vectorize(b)
const r = props.builder.rungs