Merge tag '2024.10.1' into feature/2024.10
This commit is contained in:
@@ -267,13 +267,10 @@ export function getNoteMenu(props: {
|
||||
function togglePin(pin: boolean): void {
|
||||
os.apiWithDialog(pin ? 'i/pin' : 'i/unpin', {
|
||||
noteId: appearNote.id,
|
||||
}, undefined, null, res => {
|
||||
if (res.id === '72dab508-c64d-498f-8740-a8eec1ba385a') {
|
||||
os.alert({
|
||||
type: 'error',
|
||||
text: i18n.ts.pinLimitExceeded,
|
||||
});
|
||||
}
|
||||
}, undefined, {
|
||||
'72dab508-c64d-498f-8740-a8eec1ba385a': {
|
||||
text: i18n.ts.pinLimitExceeded,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user