mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 04:40:05 +02:00
handle no git repo case
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
$('.js-container').html(gitlit.templates.main({files: files}));
|
||||
});
|
||||
|
||||
ipcRenderer.on('isNoGitLfsRepo', (event, repoDir) => {
|
||||
$('.js-container').html(gitlit.templates.isNoGitLfsRepo({repoDir: repoDir}));
|
||||
});
|
||||
|
||||
ipcRenderer.on('notification', (event, notification) => {
|
||||
if (notification.message) {
|
||||
var notice = PNotify.alert({
|
||||
|
Reference in New Issue
Block a user