is_not_default_branch global expression

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-07-31 15:18:21 +02:00
parent be19121bfd
commit 2bc3f4e0f1
4 changed files with 44 additions and 0 deletions

View File

@@ -439,6 +439,9 @@ export class Meta {
}
return 'false';
},
is_not_default_branch: function () {
return this.is_default_branch() === 'false' ? 'true' : 'false';
},
date: function (format, options) {
const m = moment(currentDate);
let tz = 'UTC';