🦜
Size: a a a
🦜
R
R
c
c
R
R
c
c
<Can action=“edit” on={object}>can(“edit”, object)R
c
R
R
c
const pageReady = can({
source: pageLoaded,
action: “edit”,
on: { type: “category” }
})c
c
condition({
source: pageLoaded,
if: can(“edit”, { type: “category” }),
then: pageReady,
else: errorShow.notAuthorized(“category”)
})R
const pageReady = can({
source: pageLoaded,
action: “edit”,
on: { type: “category” }
})c
🦜
condition({
source: pageLoaded,
if: can(“edit”, { type: “category” }),
then: pageReady,
else: errorShow.notAuthorized(“category”)
})R
condition({
source: pageLoaded,
if: can(“edit”, { type: “category” }),
then: pageReady,
else: errorShow.notAuthorized(“category”)
})