File tree Expand file tree Collapse file tree
src/components/basic-elements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "version" : " 0.46.4" ,
3- "build" : 17037
4- }
3+ "build" : 17044
4+ }
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default {
4040 },
4141 computed: {
4242 authors () {
43- return [' ' ].concat (this .$store .state .currentSite .authors .sort ((a , b ) => {
43+ return [' ' ].concat (this .$store .state .currentSite .authors .slice (). sort ((a , b ) => {
4444 return a .username .localeCompare (b .username );
4545 }).map (author => author .id ));
4646 },
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default {
3838 },
3939 computed: {
4040 pages () {
41- return [' ' ].concat (this .$store .state .currentSite .pages .sort ((a , b ) => {
41+ return [' ' ].concat (this .$store .state .currentSite .pages .slice (). sort ((a , b ) => {
4242 return a .title .localeCompare (b .title );
4343 }).map (page => page .id ));
4444 },
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default {
3838 },
3939 computed: {
4040 tagPages () {
41- return [' ' ].concat (this .$store .state .currentSite .tags .sort ((a , b ) => {
41+ return [' ' ].concat (this .$store .state .currentSite .tags .slice (). sort ((a , b ) => {
4242 return a .name .localeCompare (b .name );
4343 }).map (tag => tag .id ));
4444 },
You can’t perform that action at this time.
0 commit comments