mirror of
https://github.com/git-touch/git-touch
synced 2025-02-21 14:01:02 +01:00
fix: event payload ref in create,delete events (#71)
This commit is contained in:
parent
54a2d71891
commit
561970ab59
@ -308,7 +308,8 @@ class EventItem extends StatelessWidget {
|
|||||||
return _buildItem(
|
return _buildItem(
|
||||||
context: context,
|
context: context,
|
||||||
spans: <InlineSpan>[
|
spans: <InlineSpan>[
|
||||||
TextSpan(text: ' created a ${e.payload.refType} '),
|
TextSpan(text: ' created ${e.payload.refType} '),
|
||||||
|
TextSpan(text: '${e.payload.ref} at '),
|
||||||
_buildRepo(context),
|
_buildRepo(context),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
@ -317,6 +318,7 @@ class EventItem extends StatelessWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
spans: <InlineSpan>[
|
spans: <InlineSpan>[
|
||||||
TextSpan(text: ' deleted ${e.payload.refType} '),
|
TextSpan(text: ' deleted ${e.payload.refType} '),
|
||||||
|
TextSpan(text: '${e.payload.ref} at '),
|
||||||
_buildRepo(context),
|
_buildRepo(context),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user