garden: update docket, jam

This commit is contained in:
Liam Fitzgerald 2021-09-29 20:01:30 +10:00
parent 354f146cee
commit 452d6cab74
4 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f70b681979a66f361feecc4e8b44022a5e71b56117674f6ed4cb98b0ccc9cfb
size 376404
oid sha256:88b7da8f0a0b7b43cd2f85c3f56e3f4a1c2ce65dfed238fb62d7255df3e74137
size 376418

View File

@ -1,7 +1,7 @@
:~ title+'System'
info+'An app launcher for Urbit.'
color+0xee.5432
glob-http+['https://bootstrap.urbit.org/glob-0v7.10g8o.ctf38.5ogmr.n2n6i.1vdlr.glob' 0v7.10g8o.ctf38.5ogmr.n2n6i.1vdlr]
glob-http+['https://bootstrap.urbit.org/glob-0v7.i9r9o.4ld55.ntq2q.ug4dn.pi4oh.glob' 0v7.i9r9o.4ld55.ntq2q.ug4dn.pi4oh]
::glob-ames+~zod^0v0
base+'grid'
version+[0 0 1]

View File

@ -1,12 +1,11 @@
import React from 'react';
import cn from 'classnames';
import { Link } from 'react-router-dom';
import { HarkLid, Vats } from '@urbit/api';
import { HarkLid, Vats, getVatPublisher } from '@urbit/api';
import { Button } from '../../components/Button';
import { useCurrentTheme, useProtocolHandling } from '../../state/local';
import { getDarkColor } from '../../state/util';
import useKilnState from '../../state/kiln';
import {getVatPublisher} from '../../../../npm/api/hood';
import {useHarkStore} from '../../state/hark';
const getCards = (vats: Vats, protocol: boolean): OnboardingCardProps[] => {

View File

@ -110,9 +110,9 @@ export function getBlockers(vats: Vats): string[] {
}
export function getVatPublisher(vat: Vat): string | undefined {
if ('rail' in vat.arak) {
if (vat.arak.rail) {
const { rail } = vat.arak;
return (rail.publisher || rail.ship);
return (rail?.publisher || rail?.ship || undefined);
}
return undefined;
}