File tree Expand file tree Collapse file tree
spa/src/pages/admin/place Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 <td class =" text-right p-2" >Description: </td >
1717 <td class =" w-96 p-2" ><input class =" text-black w-full" v-model =" place.description" type =" text" /></td >
1818 </tr >
19+ <tr v-if =" isTypeIncluded(['home'])" >
20+ <td class =" text-right p-2" >2D Home Index: </td >
21+ <td class =" w-96 p-2" ><input class =" text-black w-full" v-model =" place.map_icon_index" type =" text" /></td >
22+ </tr >
1923 <tr v-if =" isTypeIncluded(['public', 'shop', 'colony', 'private'])" >
2024 <td class =" text-right p-2" >Slug: </td >
2125 <td class =" w-96 p-2" ><input class =" text-black w-full" v-model =" place.slug" type =" text" /></td >
@@ -64,6 +68,7 @@ export default Vue.extend({
6468 return {
6569 accessLevel: " none" ,
6670 oldName: " " ,
71+ icon2D: null ,
6772 place: {} as any ,
6873 error: " " ,
6974 success: " " ,
@@ -89,6 +94,7 @@ export default Vue.extend({
8994 await this .$http .get (` /place/by_id/${this .$route .params .id } ` ).then ((response ) => {
9095 this .place = response .data .place ;
9196 this .oldName = response .data .place .name ;
97+ this .icon2D = response .data .place .map_icon_index ;
9298 });
9399 } catch (e ) {
94100 console .log (e );
You can’t perform that action at this time.
0 commit comments