(data)
| 4115 | } |
| 4116 | |
| 4117 | function githubSyncSummary(data) { |
| 4118 | const labels = ui().wiki.githubSync; |
| 4119 | const parts = []; |
| 4120 | if (data.pulled) parts.push(labels.pulled); |
| 4121 | if (data.committed) parts.push(labels.committed(data.commit || "")); |
| 4122 | if (data.pushed) parts.push(labels.pushed); |
| 4123 | if (!parts.length) parts.push(labels.unchanged); |
| 4124 | return parts.join(" · "); |
| 4125 | } |
| 4126 | |
| 4127 | async function syncGithubNotes() { |
| 4128 | try { |