Files
discourse-hledger/assets/javascripts/discourse/components/hledger-account-cell.gjs
T
2026-09-27 12:41:41 +02:00

18 lines
399 B
Plaintext

import dConcatClass from "discourse/ui-kit/helpers/d-concat-class";
import { depthClass } from "../lib/hledger-report";
const HledgerAccountCell = <template>
<td
class={{dConcatClass
"hledger-dashboard__account"
(depthClass @row.depth)
(if @boldRoot "--root")
}}
title={{@row.account}}
>
{{@row.label}}
</td>
</template>;
export default HledgerAccountCell;