mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-05 13:19:03 +00:00
show 'untitled' for new pages instead of empty space
This commit is contained in:
parent
5ac7e521b6
commit
8e2087d2fd
@ -246,7 +246,7 @@ module.exports = (store, __exports) => {
|
|||||||
: `${icon.getAttribute('aria-label')} `
|
: `${icon.getAttribute('aria-label')} `
|
||||||
: '') +
|
: '') +
|
||||||
(text
|
(text
|
||||||
? text.innerText
|
? text.innerText || 'Untitled'
|
||||||
: [
|
: [
|
||||||
setTimeout(() => __electronApi.setWindowTitle(title), 250),
|
setTimeout(() => __electronApi.setWindowTitle(title), 250),
|
||||||
title,
|
title,
|
||||||
|
Loading…
Reference in New Issue
Block a user