mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 09:52:47 +01:00
Fix recent file bug in CodePad
This commit is contained in:
parent
bc30261bda
commit
26e5e9bb53
Binary file not shown.
@ -305,6 +305,8 @@ namespace OS {
|
|||||||
* @memberof CodePad
|
* @memberof CodePad
|
||||||
*/
|
*/
|
||||||
private setup(): void {
|
private setup(): void {
|
||||||
|
if (!this.setting.recent)
|
||||||
|
this.setting.recent = [];
|
||||||
this.fileview.onfileopen = (e) => {
|
this.fileview.onfileopen = (e) => {
|
||||||
if (!e.data || !e.data.path) {
|
if (!e.data || !e.data.path) {
|
||||||
return;
|
return;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"email": "xsang.le@gmail.com",
|
"email": "xsang.le@gmail.com",
|
||||||
"licences": "GPLv3"
|
"licences": "GPLv3"
|
||||||
},
|
},
|
||||||
"version":"0.1.2-b",
|
"version":"0.1.3-b",
|
||||||
"category":"Developments",
|
"category":"Developments",
|
||||||
"iconclass":"fa fa-pencil-square-o",
|
"iconclass":"fa fa-pencil-square-o",
|
||||||
"mimes":[
|
"mimes":[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user